mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
ASoC: rockchip: Standardize ASoC menu
Current Kconfig menu at [ALSA for SoC audio support] has no rules. So, some venders are using menu style, some venders are listed each drivers on top page, etc. It is difficult to find target vender and/or drivers because it is very random. Let's standardize ASoC menu Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87plf9ybqp.wl-kuninori.morimoto.gx@renesas.com Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
05016f7e48
commit
cae3cc435d
|
|
@ -1,15 +1,10 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
config SND_SOC_ROCKCHIP
|
||||
tristate "ASoC support for Rockchip"
|
||||
menu "Rockchip"
|
||||
depends on COMPILE_TEST || ARCH_ROCKCHIP
|
||||
help
|
||||
Say Y or M if you want to add support for codecs attached to
|
||||
the Rockchip SoCs' Audio interfaces. You will also need to
|
||||
select the audio interfaces to support below.
|
||||
depends on HAVE_CLK
|
||||
|
||||
config SND_SOC_ROCKCHIP_I2S
|
||||
tristate "Rockchip I2S Device Driver"
|
||||
depends on HAVE_CLK && SND_SOC_ROCKCHIP
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
help
|
||||
Say Y or M if you want to add support for I2S driver for
|
||||
|
|
@ -18,7 +13,6 @@ config SND_SOC_ROCKCHIP_I2S
|
|||
|
||||
config SND_SOC_ROCKCHIP_I2S_TDM
|
||||
tristate "Rockchip I2S/TDM Device Driver"
|
||||
depends on HAVE_CLK && SND_SOC_ROCKCHIP
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
help
|
||||
Say Y or M if you want to add support for the I2S/TDM driver for
|
||||
|
|
@ -29,7 +23,6 @@ config SND_SOC_ROCKCHIP_I2S_TDM
|
|||
|
||||
config SND_SOC_ROCKCHIP_PDM
|
||||
tristate "Rockchip PDM Controller Driver"
|
||||
depends on HAVE_CLK && SND_SOC_ROCKCHIP
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
select RATIONAL
|
||||
help
|
||||
|
|
@ -39,7 +32,6 @@ config SND_SOC_ROCKCHIP_PDM
|
|||
|
||||
config SND_SOC_ROCKCHIP_SAI
|
||||
tristate "Rockchip SAI Controller Driver"
|
||||
depends on HAVE_CLK && SND_SOC_ROCKCHIP
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
help
|
||||
Say Y or M if you want to add support for the Rockchip Serial Audio
|
||||
|
|
@ -49,7 +41,6 @@ config SND_SOC_ROCKCHIP_SAI
|
|||
|
||||
config SND_SOC_ROCKCHIP_SPDIF
|
||||
tristate "Rockchip SPDIF Device Driver"
|
||||
depends on HAVE_CLK && SND_SOC_ROCKCHIP
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
help
|
||||
Say Y or M if you want to add support for SPDIF driver for
|
||||
|
|
@ -57,7 +48,7 @@ config SND_SOC_ROCKCHIP_SPDIF
|
|||
|
||||
config SND_SOC_ROCKCHIP_MAX98090
|
||||
tristate "ASoC support for Rockchip boards using a MAX98090 codec"
|
||||
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
|
||||
depends on I2C && GPIOLIB
|
||||
select SND_SOC_ROCKCHIP_I2S
|
||||
select SND_SOC_MAX98090
|
||||
select SND_SOC_TS3A227E
|
||||
|
|
@ -68,7 +59,7 @@ config SND_SOC_ROCKCHIP_MAX98090
|
|||
|
||||
config SND_SOC_ROCKCHIP_RT5645
|
||||
tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
|
||||
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
|
||||
depends on I2C && GPIOLIB
|
||||
select SND_SOC_ROCKCHIP_I2S
|
||||
select SND_SOC_RT5645
|
||||
help
|
||||
|
|
@ -77,7 +68,7 @@ config SND_SOC_ROCKCHIP_RT5645
|
|||
|
||||
config SND_SOC_RK3288_HDMI_ANALOG
|
||||
tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
|
||||
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
|
||||
depends on I2C && GPIOLIB
|
||||
select SND_SOC_ROCKCHIP_I2S
|
||||
select SND_SOC_HDMI_CODEC
|
||||
select SND_SOC_ES8328_I2C
|
||||
|
|
@ -89,7 +80,7 @@ config SND_SOC_RK3288_HDMI_ANALOG
|
|||
|
||||
config SND_SOC_RK3399_GRU_SOUND
|
||||
tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
|
||||
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK && SPI
|
||||
depends on I2C && GPIOLIB && SPI
|
||||
select SND_SOC_ROCKCHIP_I2S
|
||||
select SND_SOC_MAX98357A
|
||||
select SND_SOC_RT5514
|
||||
|
|
@ -100,3 +91,5 @@ config SND_SOC_RK3399_GRU_SOUND
|
|||
help
|
||||
Say Y or M here if you want to add support multiple codecs for SoC
|
||||
audio on Rockchip RK3399 GRU boards.
|
||||
|
||||
endmenu
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user