1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 24495c89fSJianqun Xuconfig SND_SOC_ROCKCHIP 34495c89fSJianqun Xu tristate "ASoC support for Rockchip" 44495c89fSJianqun Xu depends on COMPILE_TEST || ARCH_ROCKCHIP 54495c89fSJianqun Xu help 64495c89fSJianqun Xu Say Y or M if you want to add support for codecs attached to 74495c89fSJianqun Xu the Rockchip SoCs' Audio interfaces. You will also need to 84495c89fSJianqun Xu select the audio interfaces to support below. 94495c89fSJianqun Xu 1038306afcSJianqunconfig SND_SOC_ROCKCHIP_I2S 119ce63dbdSJianqun tristate "Rockchip I2S Device Driver" 12*2f4574ddSArnd Bergmann depends on HAVE_CLK && SND_SOC_ROCKCHIP 138d213de7SAndreas Ruprecht select SND_SOC_GENERIC_DMAENGINE_PCM 149ce63dbdSJianqun help 159ce63dbdSJianqun Say Y or M if you want to add support for I2S driver for 169ce63dbdSJianqun Rockchip I2S device. The device supports upto maximum of 179ce63dbdSJianqun 8 channels each for play and record. 1849bdb044Szhengxing 19fc05a5b2SSugar Zhangconfig SND_SOC_ROCKCHIP_PDM 20fc05a5b2SSugar Zhang tristate "Rockchip PDM Controller Driver" 21*2f4574ddSArnd Bergmann depends on HAVE_CLK && SND_SOC_ROCKCHIP 22fc05a5b2SSugar Zhang select SND_SOC_GENERIC_DMAENGINE_PCM 2341d92e0cSArnd Bergmann select RATIONAL 24fc05a5b2SSugar Zhang help 25fc05a5b2SSugar Zhang Say Y or M if you want to add support for PDM driver for 26fc05a5b2SSugar Zhang Rockchip PDM Controller. The Controller supports up to maximum of 27fc05a5b2SSugar Zhang 8 channels record. 28fc05a5b2SSugar Zhang 29f874b80eSSjoerd Simonsconfig SND_SOC_ROCKCHIP_SPDIF 30f874b80eSSjoerd Simons tristate "Rockchip SPDIF Device Driver" 31*2f4574ddSArnd Bergmann depends on HAVE_CLK && SND_SOC_ROCKCHIP 32f874b80eSSjoerd Simons select SND_SOC_GENERIC_DMAENGINE_PCM 33f874b80eSSjoerd Simons help 34f874b80eSSjoerd Simons Say Y or M if you want to add support for SPDIF driver for 35f874b80eSSjoerd Simons Rockchip SPDIF transceiver device. 36f874b80eSSjoerd Simons 3749bdb044Szhengxingconfig SND_SOC_ROCKCHIP_MAX98090 3849bdb044Szhengxing tristate "ASoC support for Rockchip boards using a MAX98090 codec" 39*2f4574ddSArnd Bergmann depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK 4049bdb044Szhengxing select SND_SOC_ROCKCHIP_I2S 4149bdb044Szhengxing select SND_SOC_MAX98090 4249bdb044Szhengxing select SND_SOC_TS3A227E 43bf2f64eaSCheng-Yi Chiang select SND_SOC_HDMI_CODEC 4449bdb044Szhengxing help 4549bdb044Szhengxing Say Y or M here if you want to add support for SoC audio on Rockchip 46bf2f64eaSCheng-Yi Chiang boards using the MAX98090 codec and HDMI codec, such as Veyron. 4786059653Szhengxing 4886059653Szhengxingconfig SND_SOC_ROCKCHIP_RT5645 4986059653Szhengxing tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" 50*2f4574ddSArnd Bergmann depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK 5186059653Szhengxing select SND_SOC_ROCKCHIP_I2S 5286059653Szhengxing select SND_SOC_RT5645 5386059653Szhengxing help 5486059653Szhengxing Say Y or M here if you want to add support for SoC audio on Rockchip 5586059653Szhengxing boards using the RT5645/RT5650 codec, such as Veyron. 56c6eac8a3SXing Zheng 57eaae2ea7SRomain Perierconfig SND_SOC_RK3288_HDMI_ANALOG 58eaae2ea7SRomain Perier tristate "ASoC support multiple codecs for Rockchip RK3288 boards" 59*2f4574ddSArnd Bergmann depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK 60eaae2ea7SRomain Perier select SND_SOC_ROCKCHIP_I2S 61eaae2ea7SRomain Perier select SND_SOC_HDMI_CODEC 62b1d0db06SEzequiel Garcia select SND_SOC_ES8328_I2C 63b1d0db06SEzequiel Garcia select SND_SOC_ES8328_SPI if SPI_MASTER 64b1d0db06SEzequiel Garcia select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI 65eaae2ea7SRomain Perier help 66eaae2ea7SRomain Perier Say Y or M here if you want to add support for SoC audio on Rockchip 67eaae2ea7SRomain Perier RK3288 boards using an analog output and the built-in HDMI audio. 68eaae2ea7SRomain Perier 69c6eac8a3SXing Zhengconfig SND_SOC_RK3399_GRU_SOUND 70c6eac8a3SXing Zheng tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" 71*2f4574ddSArnd Bergmann depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK && SPI 72c6eac8a3SXing Zheng select SND_SOC_ROCKCHIP_I2S 73c6eac8a3SXing Zheng select SND_SOC_MAX98357A 74c6eac8a3SXing Zheng select SND_SOC_RT5514 75c6eac8a3SXing Zheng select SND_SOC_DA7219 76e5abe959SXing Zheng select SND_SOC_RT5514_SPI 773313faf1SJeffy Chen select SND_SOC_HDMI_CODEC 78626d84dbSJeffy Chen select SND_SOC_DMIC 79c6eac8a3SXing Zheng help 80c6eac8a3SXing Zheng Say Y or M here if you want to add support multiple codecs for SoC 81c6eac8a3SXing Zheng audio on Rockchip RK3399 GRU boards. 82