xref: /openbmc/linux/sound/soc/rockchip/Kconfig (revision b1d0db06)
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
18fc05a5b2SSugar Zhangconfig SND_SOC_ROCKCHIP_PDM
19fc05a5b2SSugar Zhang	tristate "Rockchip PDM Controller Driver"
20fc05a5b2SSugar Zhang	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
21fc05a5b2SSugar Zhang	select SND_SOC_GENERIC_DMAENGINE_PCM
22fc05a5b2SSugar Zhang	help
23fc05a5b2SSugar Zhang	  Say Y or M if you want to add support for PDM driver for
24fc05a5b2SSugar Zhang	  Rockchip PDM Controller. The Controller supports up to maximum of
25fc05a5b2SSugar Zhang	  8 channels record.
26fc05a5b2SSugar Zhang
27f874b80eSSjoerd Simonsconfig SND_SOC_ROCKCHIP_SPDIF
28f874b80eSSjoerd Simons	tristate "Rockchip SPDIF Device Driver"
29f874b80eSSjoerd Simons	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
30f874b80eSSjoerd Simons	select SND_SOC_GENERIC_DMAENGINE_PCM
31f874b80eSSjoerd Simons	help
32f874b80eSSjoerd Simons	  Say Y or M if you want to add support for SPDIF driver for
33f874b80eSSjoerd Simons	  Rockchip SPDIF transceiver device.
34f874b80eSSjoerd Simons
3549bdb044Szhengxingconfig SND_SOC_ROCKCHIP_MAX98090
3649bdb044Szhengxing	tristate "ASoC support for Rockchip boards using a MAX98090 codec"
379d705947SAxel Lin	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
3849bdb044Szhengxing	select SND_SOC_ROCKCHIP_I2S
3949bdb044Szhengxing	select SND_SOC_MAX98090
4049bdb044Szhengxing	select SND_SOC_TS3A227E
4149bdb044Szhengxing	help
4249bdb044Szhengxing	  Say Y or M here if you want to add support for SoC audio on Rockchip
4349bdb044Szhengxing	  boards using the MAX98090 codec, such as Veyron.
4486059653Szhengxing
4586059653Szhengxingconfig SND_SOC_ROCKCHIP_RT5645
4686059653Szhengxing	tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
479d705947SAxel Lin	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
4886059653Szhengxing	select SND_SOC_ROCKCHIP_I2S
4986059653Szhengxing	select SND_SOC_RT5645
5086059653Szhengxing	help
5186059653Szhengxing	  Say Y or M here if you want to add support for SoC audio on Rockchip
5286059653Szhengxing	  boards using the RT5645/RT5650 codec, such as Veyron.
53c6eac8a3SXing Zheng
54eaae2ea7SRomain Perierconfig SND_SOC_RK3288_HDMI_ANALOG
55eaae2ea7SRomain Perier	tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
56eaae2ea7SRomain Perier	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
57eaae2ea7SRomain Perier	select SND_SOC_ROCKCHIP_I2S
58eaae2ea7SRomain Perier	select SND_SOC_HDMI_CODEC
59b1d0db06SEzequiel Garcia	select SND_SOC_ES8328_I2C
60b1d0db06SEzequiel Garcia	select SND_SOC_ES8328_SPI if SPI_MASTER
61b1d0db06SEzequiel Garcia	select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
62eaae2ea7SRomain Perier	help
63eaae2ea7SRomain Perier	  Say Y or M here if you want to add support for SoC audio on Rockchip
64eaae2ea7SRomain Perier	  RK3288 boards using an analog output and the built-in HDMI audio.
65eaae2ea7SRomain Perier
66c6eac8a3SXing Zhengconfig SND_SOC_RK3399_GRU_SOUND
67c6eac8a3SXing Zheng	tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
68f506513aSArnd Bergmann	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
69c6eac8a3SXing Zheng	select SND_SOC_ROCKCHIP_I2S
70c6eac8a3SXing Zheng	select SND_SOC_MAX98357A
71c6eac8a3SXing Zheng	select SND_SOC_RT5514
72c6eac8a3SXing Zheng	select SND_SOC_DA7219
73e5abe959SXing Zheng	select SND_SOC_RT5514_SPI
743313faf1SJeffy Chen	select SND_SOC_HDMI_CODEC
75626d84dbSJeffy Chen	select SND_SOC_DMIC
76c6eac8a3SXing Zheng	help
77c6eac8a3SXing Zheng	  Say Y or M here if you want to add support multiple codecs for SoC
78c6eac8a3SXing Zheng	  audio on Rockchip RK3399 GRU boards.
79