From patchwork Tue Mar 13 10:46:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 131427 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp563190ljb; Tue, 13 Mar 2018 03:46:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELuSTlkx6Cam8iJ6eRc4DQkx7pgz6r2kYb/SfnEpkL6GI4P3W3/3bwMh1PaeOikZsWkRAUTH X-Received: by 10.99.178.77 with SMTP id t13mr91598pgo.187.1520937987515; Tue, 13 Mar 2018 03:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520937987; cv=none; d=google.com; s=arc-20160816; b=bUccXW+VAJVtqg3pSArBgxawL9SicCInfH0ldulBGs6otlufRv1gx2hi9uaffJT29a f6E2jgJO9lRb+mefpbARZPX3OszT9YlD420GG65Wr0/a+Q+zNMuvnvm/PtzH1K4Hj3Hk qr2MHbZBan/4iLaM9oRa5zgR+h/NkjAAgaCm6FvmqOjZ2kUNYjeJkhJio/uwpnYPr7db mV3x2400+NOCL1wxWQ1Kasnqai7RsNc5VR8M2BMgoFlNDsgVKaDDa8FnQYklZZQg0xQA y5+LLegTYqGY2/iIsuAbUgtdnbPlFxCquAL9RxAARjyj8Eom3Ww8f5js7Qw26IWmXVso AUUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=jxqskSPBtHaflR1V8L0zCM0QiM+30p8ec362vtRvCEA=; b=q3c3OC+4DTQ8jtu4SpS3RThq/oDMuuTsYSabLVWOfFGg/lC9rt63hM3WfqAh22Zxft QkAHrMTU49bXzZ29NdKT21UfD1eEWJ7uZOiILX5CbbJ96Ard9qHwXm52Usdf/vbDTXHC 3zW5djGDL/6WWcdFSEwouqmF58le2ZyTV21robBMYE7AAR4KtE1Qib7s91YPF3kv8aSZ BcsEoD2fJDrfrPthB9MvIobrJXpg01+F2UaseQlGBuDtU5QaPZrviXuJ8n256PQ2Zyl4 wiHYLnQre00aGQNh1U96Tgrm78o3eh0oJelZeKt/UTicleTHAmXpyLTCjVZk1lMHbBfw 2q+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=cd8lInjJ; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si61000plp.193.2018.03.13.03.46.27; Tue, 13 Mar 2018 03:46:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=cd8lInjJ; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932577AbeCMKq0 (ORCPT + 3 others); Tue, 13 Mar 2018 06:46:26 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:39213 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932514AbeCMKqZ (ORCPT ); Tue, 13 Mar 2018 06:46:25 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180313104623euoutp01bf8535810590ffa77985aba6b4d2ef52~bdQmX2IaI2908229082euoutp01W; Tue, 13 Mar 2018 10:46:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180313104623euoutp01bf8535810590ffa77985aba6b4d2ef52~bdQmX2IaI2908229082euoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520937983; bh=Lie1jBGr6tuM7oOSHms0uKnoeKScbeXKCXibk0ndFVM=; h=From:To:Cc:Subject:Date:References:From; b=cd8lInjJcgrUJMFTixnpEbmWqcHi52KaZrn5WUZ3mHYdeRadY3w3xJAHBOsVTEsM6 u9WjfHWBjqZT/S0dQIWYdNFbLTC8RiIiB7KE6uNMRPdz7WO7rtwzXMqSIC8tsBSxMS 4SuEjWyW+jaoxBjzOIGQ3+1+U6py00npIjkangCc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180313104622eucas1p1ae2639b67b283a739b553c5023061950~bdQlTwFV33073430734eucas1p1o; Tue, 13 Mar 2018 10:46:22 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 01.97.10409.DFBA7AA5; Tue, 13 Mar 2018 10:46:21 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180313104621eucas1p1905014d182b444b86605d07702e91533~bdQkjmrT02622726227eucas1p1G; Tue, 13 Mar 2018 10:46:21 +0000 (GMT) X-AuditID: cbfec7f5-b5fff700000028a9-66-5aa7abfd055a Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 92.54.04178.DFBA7AA5; Tue, 13 Mar 2018 10:46:21 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5I0010SZ96J3D0@eusync4.samsung.com>; Tue, 13 Mar 2018 10:46:21 +0000 (GMT) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v2] clk: samsung: exynos5250: Add missing clocks for FIMC LITE SYSMMU devices Date: Tue, 13 Mar 2018 11:46:12 +0100 Message-id: <20180313104612.24257-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsWy7djP87p/Vy+PMrh/z9Bi44z1rBbXvzxn tTh/fgO7xceee6wWM87vY7JYe+Quu8XhN+2sDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvVNBgUrBSqOP7rB3sD4j7eLkZNDQsBEYtuKeWxdjFwcQgIrGCUOb7vPCuF8ZpRY cnMNM0zVhp6VUIlljBL/Z56Famlgknjwfw0rSBWbgKFE19suNhBbRMBB4vOn14wgRcwCTxkl Thx6zgSSEBaIl3gy9zYLiM0ioCpxYfo6sDivgK3E9u2dbBDr5CUWf98JtkFC4CGrxJ7ny1gh Ei4SCzc9Z4SwhSVeHd/CDmHLSHR2HGSCsOsl+r4fYYJo7mGU2NsyFSphLXH4+EWwQcwCfBKT tk0Heo4DKM4r0dEmBFHiIbH9wEao+Y4S63b1gdlCArESW3+1MU1glFzAyLCKUTy1tDg3PbXY OC+1XK84Mbe4NC9dLzk/dxMjMNpO/zv+dQfjvj9JhxgFOBiVeHgNmpdFCbEmlhVX5h5ilOBg VhLhNetZHiXEm5JYWZValB9fVJqTWnyIUZqDRUmcN06jLkpIID2xJDU7NbUgtQgmy8TBKdXA 6FZ2R5+7POxOQlupZoEXv/KeeQ5TgnSZzRd3TtlcFnyab/Iby1V7n1VOmpe8VztVo3v2shLt hLgVmZ8l+DrV+Fw3bNtuN9PMcXtG8+Ptj95GHWpTXrWn0OXX5zeXNlw4NMPp3Eb2Wedu1q/+ v2xaQspex85nNrItmRHPCjMT9moK5pdFTj3xRImlOCPRUIu5qDgRAII9F+CyAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t/xa7p/Vy+PMjixjMNi44z1rBbXvzxn tTh/fgO7xceee6wWM87vY7JYe+Quu8XhN+2sDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxvVNBgUrBSqOP7rB3sD4j7eLkZNDQsBEYkPPStYuRi4OIYEljBIzzs5jg3CamCT2 T9zAAlLFJmAo0fW2iw3EFhFwkPj86TUjSBGzwFNGieNvpwIVcXAIC8RLHD6hDlLDIqAqcWH6 OiYQm1fAVmL79k42iG3yEou/72SbwMi1gJFhFaNIamlxbnpusaFecWJucWleul5yfu4mRqDf tx37uXkH46WNwYcYBTgYlXh4DZqXRQmxJpYVV+YeYpTgYFYS4TXrWR4lxJuSWFmVWpQfX1Sa k1p8iFGag0VJnPe8QWWUkEB6YklqdmpqQWoRTJaJg1OqgVFvmvk6ldaI+FuhF3VuCRXv9jzb 9OHnE3OfDVyNV7fknwi2rZRctEzd5+GG0p3JPaKlNZn882WXlJxU7oi+af58hT/7+xU/PR/x 5H5ZrW07ucbxtJq87MxttvvTt/iu07S2qBXWDJ3D33POZ+v3uwc9Vu66JD0vL/jup935a7sO mXv8nZ2uxaPEUpyRaKjFXFScCAClXQbx9wEAAA== X-CMS-MailID: 20180313104621eucas1p1905014d182b444b86605d07702e91533 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180313104621eucas1p1905014d182b444b86605d07702e91533 X-RootMTR: 20180313104621eucas1p1905014d182b444b86605d07702e91533 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org FIMC LITE SYSMMU devices are defined in exynos5250.dtsi, but clocks for them are not instantiated by Exynos5250 clock provider driver. Add needed definitions for those clocks to fix IOMMU probe failure: ERROR: could not get clock /soc/sysmmu@13c40000:sysmmu(0) exynos-sysmmu 13c40000.sysmmu: Failed to get device clock(s)! exynos-sysmmu: probe of 13c40000.sysmmu failed with error -38 ERROR: could not get clock /soc/sysmmu@13c50000:sysmmu(0) exynos-sysmmu 13c50000.sysmmu: Failed to get device clock(s)! exynos-sysmmu: probe of 13c50000.sysmmu failed with error -38 Signed-off-by: Marek Szyprowski Fixes: bfed1074f213 ("clk: exynos5250: Add missing sysmmu clocks for DISP and ISP blocks") Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5250.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 06e5ddcb30db..347fd80c351b 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -561,6 +561,8 @@ static const struct samsung_gate_clock exynos5250_gate_clks[] __initconst = { 0), GATE(CLK_GSCL3, "gscl3", "mout_aclk266_gscl_sub", GATE_IP_GSCL, 3, 0, 0), + GATE(CLK_CAMIF_TOP, "camif_top", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 4, 0, 0), GATE(CLK_GSCL_WA, "gscl_wa", "div_gscl_wa", GATE_IP_GSCL, 5, 0, 0), GATE(CLK_GSCL_WB, "gscl_wb", "div_gscl_wb", GATE_IP_GSCL, 6, 0, 0), GATE(CLK_SMMU_GSCL0, "smmu_gscl0", "mout_aclk266_gscl_sub", @@ -571,6 +573,10 @@ static const struct samsung_gate_clock exynos5250_gate_clks[] __initconst = { GATE_IP_GSCL, 9, 0, 0), GATE(CLK_SMMU_GSCL3, "smmu_gscl3", "mout_aclk266_gscl_sub", GATE_IP_GSCL, 10, 0, 0), + GATE(CLK_SMMU_FIMC_LITE0, "smmu_fimc_lite0", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 11, 0, 0), + GATE(CLK_SMMU_FIMC_LITE1, "smmu_fimc_lite1", "mout_aclk266_gscl_sub", + GATE_IP_GSCL, 12, 0, 0), GATE(CLK_MFC, "mfc", "mout_aclk333_sub", GATE_IP_MFC, 0, 0, 0),