Patchwork [U-Boot,3/7,V2] EXYNOS5: FDT: Add sound and codec device node

login
register
mail settings
Submitter Rajeshwari Birje
Date Nov. 28, 2012, 6:10 a.m.
Message ID <1354083013-5213-4-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/202373/
State Superseded
Headers show

Comments

Rajeshwari Birje - Nov. 28, 2012, 6:10 a.m.
Adds sound and codec device node parameters

Signed-off-by: R. Chandrasekar <rcsekar@samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
Changes in V2:
        - codec type moved single sound node.
 board/samsung/dts/exynos5250-smdk5250.dts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
Simon Glass - Nov. 28, 2012, 11:20 p.m.
On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> Adds sound and codec device node parameters
>
> Signed-off-by: R. Chandrasekar <rcsekar@samsung.com>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
> Changes in V2:
>         - codec type moved single sound node.
>  board/samsung/dts/exynos5250-smdk5250.dts |   17 +++++++++++++++++
>  1 files changed, 17 insertions(+), 0 deletions(-)
>
> diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
> index 8722b36..1562721 100644
> --- a/board/samsung/dts/exynos5250-smdk5250.dts
> +++ b/board/samsung/dts/exynos5250-smdk5250.dts
> @@ -50,4 +50,21 @@
>                 samsung,slope           = <268470274>;
>                 samsung,dc-value        = <25>;
>         };
> +
> +       sound@12d60000 {
> +               samsung,i2s-epll-clock-frequency = <192000000>;
> +               samsung,i2s-sampling-rate = <48000>;
> +               samsung,i2s-bits-per-sample = <16>;
> +               samsung,i2s-channels = <2>;
> +               samsung,i2s-lr-clk-framesize = <256>;
> +               samsung,i2s-bit-clk-framesize = <32>;
> +               samsung,codec-type = "wm8994";
> +       };
> +
> +       i2c@12c70000 {
> +               soundcodec@1a {
> +                       reg = <0x1a>;
> +                       compatible = "wolfson,wm8994-codec";
> +               };
> +       };
>  };
> --
> 1.7.4.4
>

Patch

diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 8722b36..1562721 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -50,4 +50,21 @@ 
 		samsung,slope		= <268470274>;
 		samsung,dc-value	= <25>;
 	};
+
+	sound@12d60000 {
+		samsung,i2s-epll-clock-frequency = <192000000>;
+		samsung,i2s-sampling-rate = <48000>;
+		samsung,i2s-bits-per-sample = <16>;
+		samsung,i2s-channels = <2>;
+		samsung,i2s-lr-clk-framesize = <256>;
+		samsung,i2s-bit-clk-framesize = <32>;
+		samsung,codec-type = "wm8994";
+	};
+
+	i2c@12c70000 {
+		soundcodec@1a {
+			reg = <0x1a>;
+			compatible = "wolfson,wm8994-codec";
+		};
+	};
 };