xref: /openbmc/linux/sound/soc/rockchip/Kconfig (revision c6eac8a3)
14495c89fSJianqun Xuconfig SND_SOC_ROCKCHIP
24495c89fSJianqun Xu	tristate "ASoC support for Rockchip"
34495c89fSJianqun Xu	depends on COMPILE_TEST || ARCH_ROCKCHIP
44495c89fSJianqun Xu	help
54495c89fSJianqun Xu	  Say Y or M if you want to add support for codecs attached to
64495c89fSJianqun Xu	  the Rockchip SoCs' Audio interfaces. You will also need to
74495c89fSJianqun Xu	  select the audio interfaces to support below.
84495c89fSJianqun Xu
938306afcSJianqunconfig SND_SOC_ROCKCHIP_I2S
109ce63dbdSJianqun	tristate "Rockchip I2S Device Driver"
118d213de7SAndreas Ruprecht	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
128d213de7SAndreas Ruprecht	select SND_SOC_GENERIC_DMAENGINE_PCM
139ce63dbdSJianqun	help
149ce63dbdSJianqun	  Say Y or M if you want to add support for I2S driver for
159ce63dbdSJianqun	  Rockchip I2S device. The device supports upto maximum of
169ce63dbdSJianqun	  8 channels each for play and record.
1749bdb044Szhengxing
18f874b80eSSjoerd Simonsconfig SND_SOC_ROCKCHIP_SPDIF
19f874b80eSSjoerd Simons	tristate "Rockchip SPDIF Device Driver"
20f874b80eSSjoerd Simons	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
21f874b80eSSjoerd Simons	select SND_SOC_GENERIC_DMAENGINE_PCM
22f874b80eSSjoerd Simons	help
23f874b80eSSjoerd Simons	  Say Y or M if you want to add support for SPDIF driver for
24f874b80eSSjoerd Simons	  Rockchip SPDIF transceiver device.
25f874b80eSSjoerd Simons
2649bdb044Szhengxingconfig SND_SOC_ROCKCHIP_MAX98090
2749bdb044Szhengxing	tristate "ASoC support for Rockchip boards using a MAX98090 codec"
289d705947SAxel Lin	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
2949bdb044Szhengxing	select SND_SOC_ROCKCHIP_I2S
3049bdb044Szhengxing	select SND_SOC_MAX98090
3149bdb044Szhengxing	select SND_SOC_TS3A227E
3249bdb044Szhengxing	help
3349bdb044Szhengxing	  Say Y or M here if you want to add support for SoC audio on Rockchip
3449bdb044Szhengxing	  boards using the MAX98090 codec, such as Veyron.
3586059653Szhengxing
3686059653Szhengxingconfig SND_SOC_ROCKCHIP_RT5645
3786059653Szhengxing	tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
389d705947SAxel Lin	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
3986059653Szhengxing	select SND_SOC_ROCKCHIP_I2S
4086059653Szhengxing	select SND_SOC_RT5645
4186059653Szhengxing	help
4286059653Szhengxing	  Say Y or M here if you want to add support for SoC audio on Rockchip
4386059653Szhengxing	  boards using the RT5645/RT5650 codec, such as Veyron.
44c6eac8a3SXing Zheng
45c6eac8a3SXing Zhengconfig SND_SOC_RK3399_GRU_SOUND
46c6eac8a3SXing Zheng	tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
47c6eac8a3SXing Zheng	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
48c6eac8a3SXing Zheng	select SND_SOC_ROCKCHIP_I2S
49c6eac8a3SXing Zheng	select SND_SOC_MAX98357A
50c6eac8a3SXing Zheng	select SND_SOC_RT5514
51c6eac8a3SXing Zheng	select SND_SOC_DA7219
52c6eac8a3SXing Zheng	help
53c6eac8a3SXing Zheng	  Say Y or M here if you want to add support multiple codecs for SoC
54c6eac8a3SXing Zheng	  audio on Rockchip RK3399 GRU boards.
55