Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: sun4i: Add sunxi codec device node

The A10 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: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>

authored by

Marcus Cooper and committed by
Maxime Ripard
bcf88450 dbe4dd1e

+13
+13
arch/arm/boot/dts/sun4i-a10.dtsi
··· 1022 1022 status = "disabled"; 1023 1023 }; 1024 1024 1025 + codec: codec@01c22c00 { 1026 + #sound-dai-cells = <0>; 1027 + compatible = "allwinner,sun4i-a10-codec"; 1028 + reg = <0x01c22c00 0x40>; 1029 + interrupts = <30>; 1030 + clocks = <&apb0_gates 0>, <&codec_clk>; 1031 + clock-names = "apb", "codec"; 1032 + dmas = <&dma SUN4I_DMA_NORMAL 19>, 1033 + <&dma SUN4I_DMA_NORMAL 19>; 1034 + dma-names = "rx", "tx"; 1035 + status = "disabled"; 1036 + }; 1037 + 1025 1038 sid: eeprom@01c23800 { 1026 1039 compatible = "allwinner,sun4i-a10-sid"; 1027 1040 reg = <0x01c23800 0x10>;