Skip to content

Commit 07e7c69

Browse files
authored
add SND_SOC_RT5645 tristate
1 parent 296f815 commit 07e7c69

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

patch/kernel/archive/rockchip64-6.18/board-nanopi-m4v2-dts-add-sound-card.patch

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ Subject: [ARCHEOLOGY] Initial addition of NanoPi M4V2
7575
> X-Git-Archeology:
7676
---
7777
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 51 ++++++++++
78-
sound/soc/rockchip/Kconfig | 9 ++
79-
2 files changed, 60 insertions(+)
78+
sound/soc/codecs/Kconfig | 1 ++
79+
2 files changed, 52 insertions(+)
8080

8181
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
8282
index 111111111111..222222222222 100644
@@ -165,26 +165,18 @@ index 111111111111..222222222222 100644
165165
+ i2c-scl-falling-time-ns = <15>;
166166
+ status = "okay";
167167
+};
168-
diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig
168+
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
169169
index 111111111111..222222222222 100644
170-
--- a/sound/soc/rockchip/Kconfig
171-
+++ b/sound/soc/rockchip/Kconfig
172-
@@ -66,6 +66,15 @@ config SND_SOC_ROCKCHIP_RT5645
173-
Say Y or M here if you want to add support for SoC audio on Rockchip
174-
boards using the RT5645/RT5650 codec, such as Veyron.
170+
--- a/sound/soc/codecs/Kconfig
171+
+++ b/sound/soc/codecs/Kconfig
172+
@@ -1756,7 +1756,7 @@ config SND_SOC_RT5645
173+
depends on I2C
175174

176-
+config SND_SOC_ROCKCHIP_RT5651
177-
+ tristate "ASoC support for Rockchip boards using a RT5651 codec"
178-
+ depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
179-
+ select SND_SOC_ROCKCHIP_I2S
180-
+ select SND_SOC_RT5651
181-
+ help
182-
+ Say Y or M here if you want to add support for SoC audio on Rockchip
183-
+ boards using the RT5651 codec, such as FriendlyARM's Nano{Pi,PC} family.
184-
+
185-
config SND_SOC_RK3288_HDMI_ANALOG
186-
tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
187-
depends on I2C && GPIOLIB
175+
config SND_SOC_RT5651
176+
- tristate
177+
+ tristate "Realtek RT5651 Codec"
178+
depends on I2C
179+
180+
config SND_SOC_RT5659
188181
--
189182
Armbian
190-

0 commit comments

Comments
 (0)