projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cdcfc
)
ARM: sun7i: Add sunxi codec device node
author
Emilio López
<emilio@elopez.com.ar>
Mon, 18 Aug 2014 04:07:55 +0000
(
01:07
-0300)
committer
Maxime Ripard
<maxime.ripard@free-electrons.com>
Wed, 21 Oct 2015 20:43:28 +0000
(22:43 +0200)
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>
arch/arm/boot/dts/sun7i-a20.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/sun7i-a20.dtsi
b/arch/arm/boot/dts/sun7i-a20.dtsi
index f4440f6d96214a7e67115a7fda665f4907f85fea..e02eb720c4fc1ab192bd76ba0aab0893282ee553 100644
(file)
--- a/
arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/
arch/arm/boot/dts/sun7i-a20.dtsi
@@
-1216,6
+1216,19
@@
status = "disabled";
};
+ codec: codec@01c22c00 {
+ #sound-dai-cells = <0>;
+ compatible = "allwinner,sun7i-a20-codec";
+ reg = <0x01c22c00 0x40>;
+ interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&apb0_gates 0>, <&codec_clk>;
+ clock-names = "apb", "codec";
+ dmas = <&dma SUN4I_DMA_NORMAL 19>,
+ <&dma SUN4I_DMA_NORMAL 19>;
+ dma-names = "rx", "tx";
+ status = "disabled";
+ };
+
sid: eeprom@01c23800 {
compatible = "allwinner,sun7i-a20-sid";
reg = <0x01c23800 0x200>;