diff mbox

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

Message ID 1400561355-9484-1-git-send-email-tushar.behera@linaro.org
State New
Headers show

Commit Message

Tushar Behera May 20, 2014, 4:49 a.m. UTC
On Snow/Peach-pit boards, XCLKOUT provides master clock (mclk) to codec.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
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(+)

Comments

Tushar Behera May 26, 2014, 8:10 a.m. UTC | #1
On 20 May 2014 10:19, Tushar Behera <tushar.behera@linaro.org> wrote:
> On Snow/Peach-pit boards, XCLKOUT provides master clock (mclk) to codec.
>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> ---

This patch is obsolete now because the proposed clock bindings for
XCLKOUT is now different (change in #clock-cells). Updated patch will
be sent once the XCLKOUT drivers are accepted.

> 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
>
diff mbox

Patch

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";
 	};
 };