Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1530177 > unrolled thread

[PATCH v2 4/8] ARM: dts: sun8i-a23: Add device node for internal audio codec

Started byChen-Yu Tsai <wens@csie.org>
First post2016-11-25 13:50 +0100
Last post2016-11-25 13:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 4/8] ARM: dts: sun8i-a23: Add device node for internal audio codec Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100

#1530177 — [PATCH v2 4/8] ARM: dts: sun8i-a23: Add device node for internal audio codec

FromChen-Yu Tsai <wens@csie.org>
Date2016-11-25 13:50 +0100
Subject[PATCH v2 4/8] ARM: dts: sun8i-a23: Add device node for internal audio codec
Message-ID<sHo6Z-CC-13@gated-at.bofh.it>
Now that we have a device tree binding and driver for the A23's
internal audio codec, add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-a23.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a23.dtsi b/arch/arm/boot/dts/sun8i-a23.dtsi
index 54d045dab825..4d1f929780a8 100644
--- a/arch/arm/boot/dts/sun8i-a23.dtsi
+++ b/arch/arm/boot/dts/sun8i-a23.dtsi
@@ -48,6 +48,22 @@
 	memory {
 		reg = <0x40000000 0x40000000>;
 	};
+
+	soc@01c00000 {
+		codec: codec@01c22c00 {
+			#sound-dai-cells = <0>;
+			compatible = "allwinner,sun8i-a23-codec";
+			reg = <0x01c22c00 0x400>;
+			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
+			clock-names = "apb", "codec";
+			resets = <&ccu RST_BUS_CODEC>;
+			dmas = <&dma 15>, <&dma 15>;
+			dma-names = "rx", "tx";
+			allwinner,codec-analog-controls = <&codec_analog>;
+			status = "disabled";
+		};
+	};
 };
 
 &ccu {
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web