add SND_SOC_RT5645 tristate

This commit is contained in:
simple 2025-12-10 13:38:56 +08:00 committed by Igor
parent 7106434581
commit 413d6d4d59

View File

@ -75,8 +75,8 @@ Subject: [ARCHEOLOGY] Initial addition of NanoPi M4V2
> X-Git-Archeology: > X-Git-Archeology:
--- ---
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 51 ++++++++++ arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 51 ++++++++++
sound/soc/rockchip/Kconfig | 9 ++ sound/soc/codecs/Kconfig | 1 ++
2 files changed, 60 insertions(+) 2 files changed, 52 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
index 111111111111..222222222222 100644 index 111111111111..222222222222 100644
@ -165,26 +165,18 @@ index 111111111111..222222222222 100644
+ i2c-scl-falling-time-ns = <15>; + i2c-scl-falling-time-ns = <15>;
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 111111111111..222222222222 100644 index 111111111111..222222222222 100644
--- a/sound/soc/rockchip/Kconfig --- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/rockchip/Kconfig +++ b/sound/soc/codecs/Kconfig
@@ -66,6 +66,15 @@ config SND_SOC_ROCKCHIP_RT5645 @@ -1756,7 +1756,7 @@ config SND_SOC_RT5645
Say Y or M here if you want to add support for SoC audio on Rockchip depends on I2C
boards using the RT5645/RT5650 codec, such as Veyron.
+config SND_SOC_ROCKCHIP_RT5651 config SND_SOC_RT5651
+ tristate "ASoC support for Rockchip boards using a RT5651 codec" - tristate
+ depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK + tristate "Realtek RT5651 Codec"
+ select SND_SOC_ROCKCHIP_I2S depends on I2C
+ select SND_SOC_RT5651
+ help config SND_SOC_RT5659
+ Say Y or M here if you want to add support for SoC audio on Rockchip
+ boards using the RT5651 codec, such as FriendlyARM's Nano{Pi,PC} family.
+
config SND_SOC_RK3288_HDMI_ANALOG
tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
depends on I2C && GPIOLIB
-- --
Armbian Armbian