18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP 38c2ecf20Sopenharmony_ci tristate "ASoC support for Rockchip" 48c2ecf20Sopenharmony_ci depends on COMPILE_TEST || ARCH_ROCKCHIP 58c2ecf20Sopenharmony_ci help 68c2ecf20Sopenharmony_ci Say Y or M if you want to add support for codecs attached to 78c2ecf20Sopenharmony_ci the Rockchip SoCs' Audio interfaces. You will also need to 88c2ecf20Sopenharmony_ci select the audio interfaces to support below. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP_I2S 118c2ecf20Sopenharmony_ci tristate "Rockchip I2S Device Driver" 128c2ecf20Sopenharmony_ci depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 138c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 148c2ecf20Sopenharmony_ci help 158c2ecf20Sopenharmony_ci Say Y or M if you want to add support for I2S driver for 168c2ecf20Sopenharmony_ci Rockchip I2S device. The device supports upto maximum of 178c2ecf20Sopenharmony_ci 8 channels each for play and record. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP_PDM 208c2ecf20Sopenharmony_ci tristate "Rockchip PDM Controller Driver" 218c2ecf20Sopenharmony_ci depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 228c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 238c2ecf20Sopenharmony_ci select RATIONAL 248c2ecf20Sopenharmony_ci help 258c2ecf20Sopenharmony_ci Say Y or M if you want to add support for PDM driver for 268c2ecf20Sopenharmony_ci Rockchip PDM Controller. The Controller supports up to maximum of 278c2ecf20Sopenharmony_ci 8 channels record. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP_SPDIF 308c2ecf20Sopenharmony_ci tristate "Rockchip SPDIF Device Driver" 318c2ecf20Sopenharmony_ci depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 328c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 338c2ecf20Sopenharmony_ci help 348c2ecf20Sopenharmony_ci Say Y or M if you want to add support for SPDIF driver for 358c2ecf20Sopenharmony_ci Rockchip SPDIF transceiver device. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP_MAX98090 388c2ecf20Sopenharmony_ci tristate "ASoC support for Rockchip boards using a MAX98090 codec" 398c2ecf20Sopenharmony_ci depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 408c2ecf20Sopenharmony_ci select SND_SOC_ROCKCHIP_I2S 418c2ecf20Sopenharmony_ci select SND_SOC_MAX98090 428c2ecf20Sopenharmony_ci select SND_SOC_TS3A227E 438c2ecf20Sopenharmony_ci select SND_SOC_HDMI_CODEC 448c2ecf20Sopenharmony_ci help 458c2ecf20Sopenharmony_ci Say Y or M here if you want to add support for SoC audio on Rockchip 468c2ecf20Sopenharmony_ci boards using the MAX98090 codec and HDMI codec, such as Veyron. 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ciconfig SND_SOC_ROCKCHIP_RT5645 498c2ecf20Sopenharmony_ci tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" 508c2ecf20Sopenharmony_ci depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 518c2ecf20Sopenharmony_ci select SND_SOC_ROCKCHIP_I2S 528c2ecf20Sopenharmony_ci select SND_SOC_RT5645 538c2ecf20Sopenharmony_ci help 548c2ecf20Sopenharmony_ci Say Y or M here if you want to add support for SoC audio on Rockchip 558c2ecf20Sopenharmony_ci boards using the RT5645/RT5650 codec, such as Veyron. 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ciconfig SND_SOC_RK3288_HDMI_ANALOG 588c2ecf20Sopenharmony_ci tristate "ASoC support multiple codecs for Rockchip RK3288 boards" 598c2ecf20Sopenharmony_ci depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 608c2ecf20Sopenharmony_ci select SND_SOC_ROCKCHIP_I2S 618c2ecf20Sopenharmony_ci select SND_SOC_HDMI_CODEC 628c2ecf20Sopenharmony_ci select SND_SOC_ES8328_I2C 638c2ecf20Sopenharmony_ci select SND_SOC_ES8328_SPI if SPI_MASTER 648c2ecf20Sopenharmony_ci select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI 658c2ecf20Sopenharmony_ci help 668c2ecf20Sopenharmony_ci Say Y or M here if you want to add support for SoC audio on Rockchip 678c2ecf20Sopenharmony_ci RK3288 boards using an analog output and the built-in HDMI audio. 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ciconfig SND_SOC_RK3399_GRU_SOUND 708c2ecf20Sopenharmony_ci tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" 718c2ecf20Sopenharmony_ci depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI 728c2ecf20Sopenharmony_ci select SND_SOC_ROCKCHIP_I2S 738c2ecf20Sopenharmony_ci select SND_SOC_MAX98357A 748c2ecf20Sopenharmony_ci select SND_SOC_RT5514 758c2ecf20Sopenharmony_ci select SND_SOC_DA7219 768c2ecf20Sopenharmony_ci select SND_SOC_RT5514_SPI 778c2ecf20Sopenharmony_ci select SND_SOC_HDMI_CODEC 788c2ecf20Sopenharmony_ci select SND_SOC_DMIC 798c2ecf20Sopenharmony_ci help 808c2ecf20Sopenharmony_ci Say Y or M here if you want to add support multiple codecs for SoC 818c2ecf20Sopenharmony_ci audio on Rockchip RK3399 GRU boards. 82