[PATCH] ARM: dts: Add mclk entry for Snow/Peach-pit boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Snow/Peach-pit boards, XCLKOUT provides master clock (mclk) to codec.

Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>
---
Dependency:
1. Driver side changes have been posted here.
https://lkml.org/lkml/2014/5/20/4

2. XCLKOUT clock driver support
https://lkml.org/lkml/2014/5/15/530

 arch/arm/boot/dts/exynos5250-snow.dts      |    3 +++
 arch/arm/boot/dts/exynos5420-peach-pit.dts |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 67391b9..1014ce0 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -346,6 +346,9 @@
 
 		samsung,i2s-controller = <&i2s0>;
 		samsung,audio-codec = <&max98095>;
+
+		clocks = <&pmu_system_controller>;
+		clock-names = "mclk";
 	};
 
 	usb@12110000 {
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index f4b2a16..c0664e9 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -64,6 +64,9 @@
 
 		samsung,i2s-controller = <&i2s0>;
 		samsung,audio-codec = <&max98090>;
+
+		clocks = <&pmu_system_controller>;
+		clock-names = "mclk";
 	};
 };
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux