Re: [linux-sunxi][PATCH] ARM: dts: sun6i: a31: Add DAI nodes
On Sun, Sep 03, 2017 at 05:08:52PM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > Add the new DAI blocks to the device tree. > > Signed-off-by: Marcus Cooper Applied for 4.15, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
Re: [linux-sunxi][PATCH] ARM: dts: sun6i: a31: Add DAI nodes
On 3 September 2017 at 17:08, wrote: > From: Marcus Cooper > > Add the new DAI blocks to the device tree. > > Signed-off-by: Marcus Cooper Hi all, I haven't got a dev board for this SoC but was able to confirm that this worked by setting the loopback bit and recording the playback. BR, CK > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi > b/arch/arm/boot/dts/sun6i-a31.dtsi > index b147cb0dc14b..f3d74dc5b292 100644 > --- a/arch/arm/boot/dts/sun6i-a31.dtsi > +++ b/arch/arm/boot/dts/sun6i-a31.dtsi > @@ -662,6 +662,32 @@ > status = "disabled"; > }; > > + i2s0: i2s@01c22000 { > + #sound-dai-cells = <0>; > + compatible = "allwinner,sun6i-a31-i2s"; > + reg = <0x01c22000 0x400>; > + interrupts = ; > + clocks = <&ccu CLK_APB1_DAUDIO0>, <&ccu CLK_DAUDIO0>; > + resets = <&ccu RST_APB1_DAUDIO0>; > + clock-names = "apb", "mod"; > + dmas = <&dma 3>, <&dma 3>; > + dma-names = "rx", "tx"; > + status = "disabled"; > + }; > + > + i2s1: i2s@01c22400 { > + #sound-dai-cells = <0>; > + compatible = "allwinner,sun6i-a31-i2s"; > + reg = <0x01c22400 0x400>; > + interrupts = ; > + clocks = <&ccu CLK_APB1_DAUDIO1>, <&ccu CLK_DAUDIO1>; > + resets = <&ccu RST_APB1_DAUDIO1>; > + clock-names = "apb", "mod"; > + dmas = <&dma 4>, <&dma 4>; > + dma-names = "rx", "tx"; > + status = "disabled"; > + }; > + > lradc: lradc@01c22800 { > compatible = "allwinner,sun4i-a10-lradc-keys"; > reg = <0x01c22800 0x100>; > -- > 2.14.1 > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[linux-sunxi][PATCH] ARM: dts: sun6i: a31: Add DAI nodes
From: Marcus Cooper Add the new DAI blocks to the device tree. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun6i-a31.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index b147cb0dc14b..f3d74dc5b292 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -662,6 +662,32 @@ status = "disabled"; }; + i2s0: i2s@01c22000 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun6i-a31-i2s"; + reg = <0x01c22000 0x400>; + interrupts = ; + clocks = <&ccu CLK_APB1_DAUDIO0>, <&ccu CLK_DAUDIO0>; + resets = <&ccu RST_APB1_DAUDIO0>; + clock-names = "apb", "mod"; + dmas = <&dma 3>, <&dma 3>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + i2s1: i2s@01c22400 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun6i-a31-i2s"; + reg = <0x01c22400 0x400>; + interrupts = ; + clocks = <&ccu CLK_APB1_DAUDIO1>, <&ccu CLK_DAUDIO1>; + resets = <&ccu RST_APB1_DAUDIO1>; + clock-names = "apb", "mod"; + dmas = <&dma 4>, <&dma 4>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + lradc: lradc@01c22800 { compatible = "allwinner,sun4i-a10-lradc-keys"; reg = <0x01c22800 0x100>; -- 2.14.1 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.