Re: [PATCH V3 1/2] ARM: dts: Add nodes for i2s controllers for Samsung Exynos5 platforms

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

 



cc'ing Mark Brown.

On Tue, Nov 6, 2012 at 10:14 AM, Padmavathi Venna <padma.v@xxxxxxxxxxx> wrote:
> Add device nodes for the three instances of i2s controllers in Exynos5
> platforms. Enable instance i2s 0 for exynos5250 board and disable all
> other i2s instances.
>
> Signed-off-by: Padmavathi Venna <padma.v@xxxxxxxxxxx>
> ---
>  arch/arm/boot/dts/exynos5250-smdk5250.dts |   14 ++++++++++++++
>  arch/arm/boot/dts/exynos5250.dtsi         |   29 +++++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
> index 405009c..3b2a3c9 100644
> --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
> +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
> @@ -193,4 +193,18 @@
>         hdmi {
>                 hpd-gpio = <&gpx3 7 0xf 1 3>;
>         };
> +
> +       i2s_0: i2s@03830000 {
> +               gpios = <&gpz 0 2 0 0>, <&gpz 1 2 0 0>, <&gpz 2 2 0 0>,
> +                       <&gpz 3 2 0 0>, <&gpz 4 2 0 0>, <&gpz 5 2 0 0>,
> +                       <&gpz 6 2 0 0>;
> +       };
> +
> +       i2s_1: i2s@12D60000 {
> +               status = "disabled";
> +       };
> +
> +       i2s_2: i2s@12D70000 {
> +               status = "disabled";
> +       };
>  };
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index cf6a02d..a168e98 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -31,6 +31,9 @@
>                 gsc1 = &gsc_1;
>                 gsc2 = &gsc_2;
>                 gsc3 = &gsc_3;
> +               i2s0 = &i2s_0;
> +               i2s1 = &i2s_1;
> +               i2s2 = &i2s_2;
>         };
>
>         gic:interrupt-controller@10481000 {
> @@ -238,6 +241,32 @@
>                 #size-cells = <0>;
>         };
>
> +       i2s_0: i2s@03830000 {
> +               compatible = "samsung,samsung-i2s";
> +               reg = <0x03830000 0x100>;
> +               tx-dma-channel-secondary = <&pdma0 8>; /* preliminary */
> +               tx-dma-channel = <&pdma0 10>; /* preliminary */
> +               rx-dma-channel = <&pdma0 9>; /* preliminary */
> +               samsung,supports-6ch;
> +               samsung,supports-rstclr;
> +               samsung,supports-secdai;
> +               samsung,idma-addr = <0x03000000>;
> +       };
> +
> +       i2s_1: i2s@12D60000 {
> +               compatible = "samsung,samsung-i2s";
> +               reg = <0x12D60000 0x100>;
> +               tx-dma-channel = <&pdma1 12>; /* preliminary */
> +               rx-dma-channel = <&pdma1 11>; /* preliminary */
> +       };
> +
> +       i2s_2: i2s@12D70000 {
> +               compatible = "samsung,samsung-i2s";
> +               reg = <0x12D70000 0x100>;
> +               tx-dma-channel = <&pdma0 12>; /* preliminary */
> +               rx-dma-channel = <&pdma0 11>; /* preliminary */
> +       };
> +
>         amba {
>                 #address-cells = <1>;
>                 #size-cells = <1>;
> --
> 1.7.4.4
>
> --
> 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
--
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