aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-08-18 00:07:55 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-21 16:43:28 -0400
commitd5ce107a2f6198de84ff796e2657de9b67e67bf2 (patch)
tree81f310a1dcf2658340f80a5912eae09b6599d79d
parent44cdcfc2d91041df422ffa6713c1066c12257ccd (diff)
ARM: sun7i: Add sunxi codec device node
The A20 SoC includes the Allwinner audio codec, capable of both 24-bit playback and capture. This commit adds a device node for it. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index f4440f6d9621..e02eb720c4fc 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1216,6 +1216,19 @@
1216 status = "disabled"; 1216 status = "disabled";
1217 }; 1217 };
1218 1218
1219 codec: codec@01c22c00 {
1220 #sound-dai-cells = <0>;
1221 compatible = "allwinner,sun7i-a20-codec";
1222 reg = <0x01c22c00 0x40>;
1223 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1224 clocks = <&apb0_gates 0>, <&codec_clk>;
1225 clock-names = "apb", "codec";
1226 dmas = <&dma SUN4I_DMA_NORMAL 19>,
1227 <&dma SUN4I_DMA_NORMAL 19>;
1228 dma-names = "rx", "tx";
1229 status = "disabled";
1230 };
1231
1219 sid: eeprom@01c23800 { 1232 sid: eeprom@01c23800 {
1220 compatible = "allwinner,sun7i-a20-sid"; 1233 compatible = "allwinner,sun7i-a20-sid";
1221 reg = <0x01c23800 0x200>; 1234 reg = <0x01c23800 0x200>;