1# SPDX-License-Identifier: GPL-2.0-only 2config SND_SOC_ROCKCHIP 3 tristate "ASoC support for Rockchip" 4 depends on COMPILE_TEST || ARCH_ROCKCHIP 5 help 6 Say Y or M if you want to add support for codecs attached to 7 the Rockchip SoCs' Audio interfaces. You will also need to 8 select the audio interfaces to support below. 9 10config SND_SOC_ROCKCHIP_DLP 11 tristate "Rockchip Digital Loopback Driver" 12 depends on SND_SOC_ROCKCHIP 13 help 14 Say Y or M if you want to add support for DLP driver for 15 Rockchip DMA-Based Digital Loopback. 16 17config SND_SOC_ROCKCHIP_I2S 18 tristate "Rockchip I2S Device Driver" 19 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 20 select SND_SOC_GENERIC_DMAENGINE_PCM 21 help 22 Say Y or M if you want to add support for I2S driver for 23 Rockchip I2S device. The device supports upto maximum of 24 8 channels each for play and record. 25 26config SND_SOC_ROCKCHIP_I2S_TDM 27 tristate "Rockchip I2S/TDM Device Driver" 28 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 29 select SND_SOC_GENERIC_DMAENGINE_PCM 30 help 31 Say Y or M if you want to add support for I2S/TDM driver for 32 Rockchip I2S/TDM device. The device supports up to maximum of 33 8 channels each for play and record. 34 35config SND_SOC_ROCKCHIP_I2S_TDM_MULTI_LANES 36 bool "Rockchip TDM Multi Lanes" 37 depends on SND_SOC_ROCKCHIP_I2S_TDM 38 help 39 Say Y or M if you want to add support for TDM Multi Lanes 40 based on I2S_TDM controller. 41 42config SND_SOC_ROCKCHIP_MULTI_DAIS 43 tristate "Rockchip Multi-DAIS Device Driver" 44 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 45 help 46 Say Y or M if you want to add support for Multi-dais driver for 47 Rockchip. 48 49config SND_SOC_ROCKCHIP_PDM 50 tristate "Rockchip PDM Controller Driver" 51 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 52 select SND_SOC_GENERIC_DMAENGINE_PCM 53 select RATIONAL 54 help 55 Say Y or M if you want to add support for PDM driver for 56 Rockchip PDM Controller. The Controller supports up to maximum of 57 8 channels record. 58 59config SND_SOC_ROCKCHIP_SAI 60 tristate "Rockchip SAI Controller Driver" 61 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 62 select SND_SOC_GENERIC_DMAENGINE_PCM 63 help 64 Say Y or M if you want to add support for SAI driver for 65 Rockchip SAI Controller. The Controller supports up to maximum of 66 128 channels each for play and record. 67 68config SND_SOC_ROCKCHIP_SPDIF 69 tristate "Rockchip SPDIF Device Driver" 70 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 71 select SND_PCM_IEC958 72 select SND_SOC_GENERIC_DMAENGINE_PCM 73 help 74 Say Y or M if you want to add support for SPDIF driver for 75 Rockchip SPDIF transceiver device. 76 77config SND_SOC_ROCKCHIP_SPDIFRX 78 tristate "Rockchip SPDIFRX Device Driver" 79 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 80 select SND_SOC_GENERIC_DMAENGINE_PCM 81 help 82 Say Y or M if you want to add support for SPDIFRX driver for 83 Rockchip SPDIF receiver device. 84 85config SND_SOC_ROCKCHIP_VAD 86 tristate "Rockchip Voice Activity Detection Driver" 87 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP 88 help 89 Say Y or M if you want to add support for VAD driver for 90 Rockchip VAD device. 91 92config SND_SOC_ROCKCHIP_MAX98090 93 tristate "ASoC support for Rockchip boards using a MAX98090 codec" 94 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 95 select SND_SOC_ROCKCHIP_I2S 96 select SND_SOC_MAX98090 97 select SND_SOC_TS3A227E 98 select SND_SOC_HDMI_CODEC 99 help 100 Say Y or M here if you want to add support for SoC audio on Rockchip 101 boards using the MAX98090 codec and HDMI codec, such as Veyron. 102 103config SND_SOC_ROCKCHIP_MULTICODECS 104 tristate "ASoC support for Rockchip multicodecs" 105 depends on SND_SOC_ROCKCHIP && CLKDEV_LOOKUP 106 help 107 Say Y or M here if you want to add support for SoC audio on Rockchip 108 boards using multicodecs, such as RK3308 boards. 109 110config SND_SOC_ROCKCHIP_RT5645 111 tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" 112 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 113 select SND_SOC_ROCKCHIP_I2S 114 select SND_SOC_RT5645 115 help 116 Say Y or M here if you want to add support for SoC audio on Rockchip 117 boards using the RT5645/RT5650 codec, such as Veyron. 118 119config SND_SOC_ROCKCHIP_HDMI 120 tristate "ASoC support for Rockchip HDMI audio" 121 depends on SND_SOC_ROCKCHIP && CLKDEV_LOOKUP 122 select SND_SOC_HDMI_CODEC 123 help 124 Say Y or M here if you want to add support for SoC audio on Rockchip 125 boards using built-in HDMI or external HDMI. 126 127config SND_SOC_RK3288_HDMI_ANALOG 128 tristate "ASoC support multiple codecs for Rockchip RK3288 boards" 129 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP 130 select SND_SOC_ROCKCHIP_I2S 131 select SND_SOC_HDMI_CODEC 132 select SND_SOC_ES8328_I2C 133 select SND_SOC_ES8328_SPI if SPI_MASTER 134 select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI 135 help 136 Say Y or M here if you want to add support for SoC audio on Rockchip 137 RK3288 boards using an analog output and the built-in HDMI audio. 138 139config SND_SOC_RK3399_GRU_SOUND 140 tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" 141 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI 142 select SND_SOC_ROCKCHIP_I2S 143 select SND_SOC_MAX98357A 144 select SND_SOC_RT5514 145 select SND_SOC_DA7219 146 select SND_SOC_RT5514_SPI 147 select SND_SOC_HDMI_CODEC 148 select SND_SOC_DMIC 149 help 150 Say Y or M here if you want to add support multiple codecs for SoC 151 audio on Rockchip RK3399 GRU boards. 152