Skip to content

Commit 95b570f

Browse files
MesihKwens
authored andcommitted
ARM: dts: suniv: f1c100s: Add support for Audio Codec
Allwinner suniv F1C100s now has basic audio codec support. Enable it under device tree. Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com> [ csokas.bence: Rebased on current master ] Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu> Link: https://patch.msgid.link/20241123123900.2656837-5-csokas.bence@prolan.hu Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 7336701 commit 95b570f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,5 +336,19 @@
336336
resets = <&ccu RST_BUS_UART2>;
337337
status = "disabled";
338338
};
339+
340+
codec: codec@1c23c00 {
341+
#sound-dai-cells = <0>;
342+
compatible = "allwinner,suniv-f1c100s-codec";
343+
reg = <0x01c23c00 0x400>;
344+
interrupts = <21>;
345+
clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_CODEC>;
346+
clock-names = "apb", "codec";
347+
dmas = <&dma SUN4I_DMA_NORMAL 12>,
348+
<&dma SUN4I_DMA_NORMAL 12>;
349+
dma-names = "rx", "tx";
350+
resets = <&ccu RST_BUS_CODEC>;
351+
status = "disabled";
352+
};
339353
};
340354
};

0 commit comments

Comments
 (0)