Skip to contentSkip to conversation

ARM: dts: sunxi: h3/h5 :Add DAI nodes

PATCH New codekipper at gmail.com 2 participants 2 messages Sep 4, 2017 – Sep 5, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: sunxi: h3/h5 :Add DAI nodes

From: Marcus Cooper <[email protected]>

Add the new DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec.

---
v2 changes compared to v1 are:
- removed i2s2 which is used for HDMI audio

---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
arch/arm/boot/dts/sunxi-h3-h5.dtsi +26 -0
index 11240a8313c2..ef87d29036d9 100644
@@ -450,6 +450,32 @@
 			status = "disabled";
 		};
 
+		i2s0: i2s at 01c22000 {
+			#sound-dai-cells = <0>;
+			compatible = "allwinner,sun8i-h3-i2s";
+			reg = <0x01c22000 0x400>;
+			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>;
+			clock-names = "apb", "mod";
+			dmas = <&dma 3>, <&dma 3>;
+			resets = <&ccu RST_BUS_I2S0>;
+			dma-names = "rx", "tx";
+			status = "disabled";
+		};
+
+		i2s1: i2s at 01c22400 {
+			#sound-dai-cells = <0>;
+			compatible = "allwinner,sun8i-h3-i2s";
+			reg = <0x01c22400 0x400>;
+			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>;
+			clock-names = "apb", "mod";
+			dmas = <&dma 4>, <&dma 4>;
+			resets = <&ccu RST_BUS_I2S1>;
+			dma-names = "rx", "tx";
+			status = "disabled";
+		};
+
 		codec: codec at 01c22c00 {
 			#sound-dai-cells = <0>;
 			compatible = "allwinner,sun8i-h3-codec";
Signature · 1 line
2.14.1
#1 lore raw

PATCH v2 1/1 ARM: dts: sunxi: h3/h5 :Add DAI nodes

Quoted 6 lines · codekipper at gmail.com

From: Marcus Cooper <[email protected]>

Add the new DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170905/3ef6f2e8/attachment-0001.sig>