From patchwork Fri Dec 9 07:22:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 87390 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp169309qgi; Thu, 8 Dec 2016 23:22:35 -0800 (PST) X-Received: by 10.98.22.196 with SMTP id 187mr80119453pfw.34.1481268155721; Thu, 08 Dec 2016 23:22:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si32441376pgj.182.2016.12.08.23.22.35; Thu, 08 Dec 2016 23:22:35 -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 S1753270AbcLIHWe (ORCPT + 4 others); Fri, 9 Dec 2016 02:22:34 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:44261 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbcLIHWe (ORCPT ); Fri, 9 Dec 2016 02:22:34 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHW01LW2PTGGW10@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 09 Dec 2016 16:22:32 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-48-584a5bb88309 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id E7.C4.25310.8BB5A485; Fri, 9 Dec 2016 16:22:32 +0900 (KST) Received: from AMDC2765.digital.local ([106.116.147.25]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHW0089XPT1YI30@mmp2.samsung.com>; Fri, 09 Dec 2016 16:22:32 +0900 (KST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH v2 1/2] ARM: dts: exynos: Correct clocks for Exynos4 I2S module Date: Fri, 09 Dec 2016 08:22:10 +0100 Message-id: <1481268131-1264-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsVy+t9jQd0d0V4RBp+nSlpsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32S0Ov2lndWDz2LSqk82jb8sqRo/Pm+QCmKPcbDJSE1NSixRS85Lz UzLz0m2VQkPcdC2UFPISc1NtlSJ0fUOClBTKEnNKgTwjAzTg4BzgHqykb5fgltH46QtbwSfB igPTZBsY2/i7GDk5JARMJOb9ncQMYYtJXLi3ng3EFhKYxSjx+z9QnAvI/sUo0b7yHQtIgk3A UKLrbRdYkYiAqsTntgXsIEXMAs8ZJd7v7gcrEhbwl3h3+ykjiM0CVDTl1kQwm1fAXeL9y+dM ENvkJE4em8w6gZF7ASPDKkaJ1ILkguKk9FzDvNRyveLE3OLSvHS95PzcTYzgIHwmtYPx4C73 Q4wCHIxKPLwVxz0jhFgTy4orcw8xSnAwK4nwioV5RQjxpiRWVqUW5ccXleakFh9iNAU6YCKz lGhyPjBC8kriDU3MTcyNDSzMLS1NjJTEeRtnPwsXEkhPLEnNTk0tSC2C6WPi4JRqYIxuyth9 eD//iwlM9cXuBR/vhj3bu1/QSSPjx3vZJ+ZMyZ//O956OOk8v8fOUgWluGJWy+wbObJPwlf9 mR/Nb3rx4ByvdhXW+TmmW3wyBX9GsO+atV3y/aF3YjdsQn3cl0o8cn3wxP2q0r9+qYIf+35f rpt8Lsghoeb+PK6k5zI+0cFPrnh3dyixFGckGmoxFxUnAgDbv4CdWAIAAA== X-MTR: 20000000000000000@CPGS Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org "iis", "i2s_opclk0" and "i2s_opclk1" are standard clocks for Exynos4 I2S hardware module, so they should be defined in .dtsi file not in the random board .dts file. Signed-off-by: Marek Szyprowski --- Changelog: v2: - added changes for exynos4412-itop-elite board --- arch/arm/boot/dts/exynos4.dtsi | 6 ++++-- arch/arm/boot/dts/exynos4412-itop-elite.dts | 4 ---- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 4 ---- 3 files changed, 4 insertions(+), 10 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 Reviewed-by: Krzysztof Kozlowski diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index c64737b..23d85601 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -64,8 +64,10 @@ i2s0: i2s@03830000 { compatible = "samsung,s5pv210-i2s"; reg = <0x03830000 0x100>; - clocks = <&clock_audss EXYNOS_I2S_BUS>; - clock-names = "iis"; + clocks = <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_DOUT_AUD_BUS>, + <&clock_audss EXYNOS_SCLK_I2S>; + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; #clock-cells = <1>; clock-output-names = "i2s_cdclk0"; dmas = <&pdma0 12>, <&pdma0 11>, <&pdma0 10>; diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts index 76d87f3..1ac9129 100644 --- a/arch/arm/boot/dts/exynos4412-itop-elite.dts +++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts @@ -198,10 +198,6 @@ pinctrl-0 = <&i2s0_bus>; pinctrl-names = "default"; status = "okay"; - clocks = <&clock_audss EXYNOS_I2S_BUS>, - <&clock_audss EXYNOS_DOUT_AUD_BUS>, - <&clock_audss EXYNOS_SCLK_I2S>; - clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; }; &pinctrl_1 { diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 8aa19ba..7815efd 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -503,10 +503,6 @@ pinctrl-0 = <&i2s0_bus>; pinctrl-names = "default"; status = "okay"; - clocks = <&clock_audss EXYNOS_I2S_BUS>, - <&clock_audss EXYNOS_DOUT_AUD_BUS>, - <&clock_audss EXYNOS_SCLK_I2S>; - clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; }; &mixer {