All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: linux-samsung-soc@vger.kernel.org
Cc: Marek Szyprowski <m.szyprowski@samsung.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Seung-Woo Kim <sw0312.kim@samsung.com>,
	Chanwoo Choi <cw00.choi@samsung.com>
Subject: [PATCH v2 5/5] arm64: dts: exynos: TM2 - remove unused UART3 and set clocks directly on CMU
Date: Thu, 17 Nov 2016 09:58:01 +0100	[thread overview]
Message-ID: <1479373081-11586-6-git-send-email-m.szyprowski@samsung.com> (raw)
In-Reply-To: <1479373081-11586-1-git-send-email-m.szyprowski@samsung.com>

UART3 device is not really needed for enabling audio block on TM2.
Enabling it made it working by enabling some common parent clocks,
what is now handled by improved exynos5433 clocks driver. Thus the UART3
device node can be safely disabled. The assigned-clocks entries are
however still needed, so move them under the respective CMU node.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
index a0ccc9d3a716..48da2095e381 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
@@ -165,6 +165,11 @@
 	};
 };
 
+&cmu_aud {
+	assigned-clocks = <&cmu_aud CLK_MOUT_AUD_PLL_USER>;
+	assigned-clock-parents = <&cmu_top CLK_FOUT_AUD_PLL>;
+};
+
 &cmu_fsys {
 	assigned-clocks = <&cmu_top CLK_MOUT_SCLK_USBDRD30>,
 		<&cmu_top CLK_MOUT_SCLK_USBHOST30>,
@@ -988,12 +993,6 @@
 	status = "okay";
 };
 
-&serial_3 {
-	assigned-clocks = <&cmu_aud CLK_MOUT_AUD_PLL_USER>;
-	assigned-clock-parents = <&cmu_top CLK_FOUT_AUD_PLL>;
-	status = "okay";
-};
-
 &spi_1 {
 	cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>;
 	status = "okay";
-- 
1.9.1

  parent reply	other threads:[~2016-11-17  8:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20161117085810eucas1p20d425d73d1c1e0de96d2995b96968de7@eucas1p2.samsung.com>
2016-11-17  8:57 ` [PATCH v2 0/5] Fixes for Exynos5433 TM2 board Marek Szyprowski
     [not found]   ` <CGME20161117085810eucas1p2e6cfa6b12c7505e4d6a39fe7423b796b@eucas1p2.samsung.com>
2016-11-17  8:57     ` [PATCH v2 1/5] arm64: dts: exynos: Fix FSYS CMU parent clocks in Exynos 5433 SoC Marek Szyprowski
2016-11-17 12:56       ` Chanwoo Choi
     [not found]   ` <CGME20161117085811eucas1p12d1530da1de3dc2b9693ecb25fb038ea@eucas1p1.samsung.com>
2016-11-17  8:57     ` [PATCH v2 2/5] arm64: dts: exynos: Add missing parent clocks to audio block " Marek Szyprowski
     [not found]   ` <CGME20161117085811eucas1p1b1fcdd080d43f46ef44558ba0e62e4d3@eucas1p1.samsung.com>
2016-11-17  8:57     ` [PATCH v2 3/5] arm64: dts: exynos: Move FSYS CMU configuration from Exynos5433 dtsi to TM2 dts Marek Szyprowski
     [not found]   ` <CGME20161117085812eucas1p18c55c33c2d4dcafc5d6cd7e4aecac51b@eucas1p1.samsung.com>
2016-11-17  8:58     ` [PATCH v2 4/5] arm64: dts: exynos: Assign parent clock of the clkout clock for TM2 board Marek Szyprowski
     [not found]   ` <CGME20161117085812eucas1p2688dd5a172c52796b43001b108180d6e@eucas1p2.samsung.com>
2016-11-17  8:58     ` Marek Szyprowski [this message]
2016-11-18 11:39   ` [PATCH v2 0/5] Fixes for Exynos5433 " Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479373081-11586-6-git-send-email-m.szyprowski@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=krzk@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=sw0312.kim@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.