Patchwork [U-Boot,1/5] EXYNOS5: FDT: Add sound device node data

login
register
mail settings
Submitter Rajeshwari Birje
Date Nov. 8, 2012, 5:37 a.m.
Message ID <1352353039-17165-2-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/197761/
State Superseded
Delegated to: Minkyu Kang
Headers show

Comments

Rajeshwari Birje - Nov. 8, 2012, 5:37 a.m.
Add sound device node data for exynos

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 arch/arm/dts/exynos5250.dtsi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Simon Glass - Nov. 9, 2012, 1:09 a.m.
Hi Rajeshwari,

On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> Add sound device node data for exynos
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

I presume the kernel has no such driver so we cannot copy their
binding? You should add the fdt bindings file here for sound - see
doc/device-tree-bindings.

> ---
>  arch/arm/dts/exynos5250.dtsi |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
> index e877e6c..3f750f0 100644
> --- a/arch/arm/dts/exynos5250.dtsi
> +++ b/arch/arm/dts/exynos5250.dtsi
> @@ -97,4 +97,9 @@
>                 reg = <0x12CD0000 0x100>;
>                 interrupts = <0 63 0>;
>         };
> +
> +       sound@12d60000 {
> +               compatible = "samsung,exynos-sound";
> +               reg = <0x12d60000 0x20>;
> +       };
>  };
> --
> 1.7.4.4
>

Regards,
Simon

Patch

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index e877e6c..3f750f0 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -97,4 +97,9 @@ 
 		reg = <0x12CD0000 0x100>;
 		interrupts = <0 63 0>;
 	};
+
+	sound@12d60000 {
+		compatible = "samsung,exynos-sound";
+		reg = <0x12d60000 0x20>;
+	};
 };