mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
2e0b000e0e
Remove patches that were upstreamed, and backport features from later kernels. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
From edebcc9d47f0bfe9bd769a2c578dda16acbfbef2 Mon Sep 17 00:00:00 2001
|
|
From: Maksim Kiselev <bigunclemax@gmail.com>
|
|
Date: Sat, 5 Aug 2023 21:05:05 +0300
|
|
Subject: [PATCH 14/14] riscv: dts: allwinner: d1: Add device nodes for
|
|
internal audio codec
|
|
|
|
Add DT nodes for the internal D1/T113s audio codec and its analog part.
|
|
|
|
Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
|
|
---
|
|
.../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 22 +++++++++++++++++++
|
|
1 file changed, 22 insertions(+)
|
|
|
|
--- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi
|
|
+++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi
|
|
@@ -179,6 +179,28 @@
|
|
#thermal-sensor-cells = <0>;
|
|
};
|
|
|
|
+ codec: codec@2030000 {
|
|
+ #sound-dai-cells = <0>;
|
|
+ compatible = "allwinner,sun20i-d1-codec";
|
|
+ reg = <0x02030000 0x300>;
|
|
+ interrupts = <SOC_PERIPHERAL_IRQ(25) IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&ccu CLK_BUS_AUDIO>,
|
|
+ <&ccu CLK_AUDIO_ADC>,
|
|
+ <&ccu CLK_AUDIO_DAC>;
|
|
+ clock-names = "apb", "adc", "dac";
|
|
+ resets = <&ccu RST_BUS_AUDIO>;
|
|
+ dmas = <&dma 7>, <&dma 7>;
|
|
+ dma-names = "rx", "tx";
|
|
+ allwinner,codec-analog-controls = <&codec_analog>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ codec_analog: codec-analog@2030300 {
|
|
+ compatible = "allwinner,sun20i-d1-codec-analog";
|
|
+ reg = <0x02030300 0xd00>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
dmic: dmic@2031000 {
|
|
compatible = "allwinner,sun20i-d1-dmic",
|
|
"allwinner,sun50i-h6-dmic";
|