From patchwork Wed Jan 25 11:51:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 92435 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2170664qgi; Wed, 25 Jan 2017 03:52:46 -0800 (PST) X-Received: by 10.84.215.154 with SMTP id l26mr3007332pli.120.1485345166229; Wed, 25 Jan 2017 03:52:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d86si23144594pfl.212.2017.01.25.03.52.45; Wed, 25 Jan 2017 03:52:46 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751560AbdAYLwZ (ORCPT + 4 others); Wed, 25 Jan 2017 06:52:25 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:12862 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbdAYLwX (ORCPT ); Wed, 25 Jan 2017 06:52:23 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKC003AO3N4KS10@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 25 Jan 2017 11:52:16 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170125115215eucas1p1e216d99c11e2bb9bac2d8787ded3f9ce~dAYf6rtH92750227502eucas1p1v; Wed, 25 Jan 2017 11:52:15 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id D7.DF.16908.17198885; Wed, 25 Jan 2017 11:52:18 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170125115214eucas1p1517ce7ca8fe88e4742a1306630b91d09~dAYfBnXJI2751127511eucas1p10; Wed, 25 Jan 2017 11:52:14 +0000 (GMT) X-AuditID: cbfec7ef-f79d26d00000420c-94-588891715eaf Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 49.4F.06687.DA198885; Wed, 25 Jan 2017 11:53:17 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKC00J3F3MWGC90@eusync1.samsung.com>; Wed, 25 Jan 2017 11:52:14 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 1/2] clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks Date: Wed, 25 Jan 2017 12:51:57 +0100 Message-id: <1485345118-3082-2-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485345118-3082-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsWy7djPc7pFEzsiDOYeY7LYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfuslscftPO6sDmsWlVJ5tH35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVw ZVxYyVNwhr/i9ub7LA2M+3i7GDk5JARMJObf/sQIYYtJXLi3nq2LkYtDSGAZo8TL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ZeYu/gJ0wRG3gWMDKsYRVJLi3PTc4sN9YoTc4tL89L1 kvNzNzECw3TbsZ+bdzBe2hh8iFGAg1GJh3dCUnuEEGtiWXFl7iFGCQ5mJRFeh5aOCCHelMTK qtSi/Pii0pzU4kOMpkAnTWSWEk3OB8ZQXkm8oYmhuaWhkbGFhbmRkZI4b8mHK+FCAumJJanZ qakFqUUwfUwcnFINjPP3FCyLqXdY/DpFT41b+mP1xbadHavvZqRkPMtR/7b7t3Kffl6T/fF5 BW0iU5p+TUpy2c3UrFCwfUnzr1u3bwh2VFjppfbm9a1Z+fClYYzVhfmcxpmiLU/csx9o/nj2 Jfzgtr6VM7XF6mdN2M4S2MC6q+B+rELKRSFb5lt6Dr6Lp29ZvM43X4mlOCPRUIu5qDgRAOAh 1YppAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170125115214eucas1p1517ce7ca8fe88e4742a1306630b91d09 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170125115214eucas1p1517ce7ca8fe88e4742a1306630b91d09 X-RootMTR: 20170125115214eucas1p1517ce7ca8fe88e4742a1306630b91d09 References: <1485345118-3082-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add missing identifiers for phyclk_mipidphy0_bitclkdiv8_phy and phyclk_mipidphy0_rxclkesc0_phy clocks. Access to those clocks is needed to setup initial clock configuration for display subsystem in device tree in order to avoid dependency on the configuration left by the bootloader. Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos5433.c | 6 ++++-- include/dt-bindings/clock/exynos5433.h | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) -- 1.9.1 -- 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 Acked-by: Krzysztof Kozlowski Acked-by: Chanwoo Choi diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 0db5204c307c..1ab4fca255e1 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -2559,8 +2559,10 @@ static void __init exynos5433_cmu_g2d_init(struct device_node *np) FRATE(0, "phyclk_mipidphy1_bitclkdiv8_phy", NULL, 0, 188000000), FRATE(0, "phyclk_mipidphy1_rxclkesc0_phy", NULL, 0, 100000000), /* PHY clocks from MIPI_DPHY0 */ - FRATE(0, "phyclk_mipidphy0_bitclkdiv8_phy", NULL, 0, 188000000), - FRATE(0, "phyclk_mipidphy0_rxclkesc0_phy", NULL, 0, 100000000), + FRATE(CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY, "phyclk_mipidphy0_bitclkdiv8_phy", + NULL, 0, 188000000), + FRATE(CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY, "phyclk_mipidphy0_rxclkesc0_phy", + NULL, 0, 100000000), /* PHY clocks from HDMI_PHY */ FRATE(CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY, "phyclk_hdmiphy_tmds_clko_phy", NULL, 0, 300000000), diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index 4fa6bb2136e3..be39d23e6a32 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h @@ -771,7 +771,10 @@ #define CLK_PCLK_DECON 113 -#define DISP_NR_CLK 114 +#define CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY 114 +#define CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY 115 + +#define DISP_NR_CLK 116 /* CMU_AUD */ #define CLK_MOUT_AUD_PLL_USER 1