| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
menu "Rockchip" |
| 3 |
depends on COMPILE_TEST || ARCH_ROCKCHIP |
| 4 |
depends on HAVE_CLK |
| 5 |
|
| 6 |
config SND_SOC_ROCKCHIP_I2S |
| 7 |
tristate "Rockchip I2S Device Driver" |
| 8 |
select SND_SOC_GENERIC_DMAENGINE_PCM |
| 9 |
help |
| 10 |
Say Y or M if you want to add support for I2S driver for |
| 11 |
Rockchip I2S device. The device supports up to maximum of |
| 12 |
8 channels each for play and record. |
| 13 |
|
| 14 |
config SND_SOC_ROCKCHIP_I2S_TDM |
| 15 |
tristate "Rockchip I2S/TDM Device Driver" |
| 16 |
select SND_SOC_GENERIC_DMAENGINE_PCM |
| 17 |
help |
| 18 |
Say Y or M if you want to add support for the I2S/TDM driver for |
| 19 |
Rockchip I2S/TDM devices, found in Rockchip SoCs. These devices |
| 20 |
interface between the AHB bus and the I2S bus, and support up to a |
| 21 |
maximum of 8 channels each for playback and recording. |
| 22 |
|
| 23 |
|
| 24 |
config SND_SOC_ROCKCHIP_PDM |
| 25 |
tristate "Rockchip PDM Controller Driver" |
| 26 |
select SND_SOC_GENERIC_DMAENGINE_PCM |
| 27 |
select RATIONAL |
| 28 |
help |
| 29 |
Say Y or M if you want to add support for PDM driver for |
| 30 |
Rockchip PDM Controller. The Controller supports up to maximum of |
| 31 |
8 channels record. |
| 32 |
|
| 33 |
config SND_SOC_ROCKCHIP_SAI |
| 34 |
tristate "Rockchip SAI Controller Driver" |
| 35 |
select SND_SOC_GENERIC_DMAENGINE_PCM |
| 36 |
help |
| 37 |
Say Y or M if you want to add support for the Rockchip Serial Audio |
| 38 |
Interface controller found on Rockchip SoCs such as the RK3576. The |
| 39 |
controller may support both playback and recording, with up to 4 lanes |
| 40 |
for each and up to 128 channels per lane in TDM mode. |
| 41 |
|
| 42 |
config SND_SOC_ROCKCHIP_SPDIF |
| 43 |
tristate "Rockchip SPDIF Device Driver" |
| 44 |
select SND_PCM_IEC958 |
| 45 |
select SND_SOC_GENERIC_DMAENGINE_PCM |
| 46 |
help |
| 47 |
Say Y or M if you want to add support for SPDIF driver for |
| 48 |
Rockchip SPDIF transceiver device. |
| 49 |
|
| 50 |
config SND_SOC_ROCKCHIP_MAX98090 |
| 51 |
tristate "ASoC support for Rockchip boards using a MAX98090 codec" |
| 52 |
depends on I2C && GPIOLIB |
| 53 |
select SND_SOC_ROCKCHIP_I2S |
| 54 |
select SND_SOC_MAX98090 |
| 55 |
select SND_SOC_TS3A227E |
| 56 |
select SND_SOC_HDMI_CODEC |
| 57 |
help |
| 58 |
Say Y or M here if you want to add support for SoC audio on Rockchip |
| 59 |
boards using the MAX98090 codec and HDMI codec, such as Veyron. |
| 60 |
|
| 61 |
config SND_SOC_ROCKCHIP_RT5645 |
| 62 |
tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" |
| 63 |
depends on I2C && GPIOLIB |
| 64 |
select SND_SOC_ROCKCHIP_I2S |
| 65 |
select SND_SOC_RT5645 |
| 66 |
help |
| 67 |
Say Y or M here if you want to add support for SoC audio on Rockchip |
| 68 |
boards using the RT5645/RT5650 codec, such as Veyron. |
| 69 |
|
| 70 |
config SND_SOC_RK3288_HDMI_ANALOG |
| 71 |
tristate "ASoC support multiple codecs for Rockchip RK3288 boards" |
| 72 |
depends on I2C && GPIOLIB |
| 73 |
select SND_SOC_ROCKCHIP_I2S |
| 74 |
select SND_SOC_HDMI_CODEC |
| 75 |
select SND_SOC_ES8328_I2C |
| 76 |
select SND_SOC_ES8328_SPI if SPI_MASTER |
| 77 |
select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI |
| 78 |
help |
| 79 |
Say Y or M here if you want to add support for SoC audio on Rockchip |
| 80 |
RK3288 boards using an analog output and the built-in HDMI audio. |
| 81 |
|
| 82 |
config SND_SOC_RK3399_GRU_SOUND |
| 83 |
tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" |
| 84 |
depends on I2C && GPIOLIB && SPI |
| 85 |
select SND_SOC_ROCKCHIP_I2S |
| 86 |
select SND_SOC_MAX98357A |
| 87 |
select SND_SOC_RT5514 |
| 88 |
select SND_SOC_DA7219 |
| 89 |
select SND_SOC_RT5514_SPI |
| 90 |
select SND_SOC_HDMI_CODEC |
| 91 |
select SND_SOC_DMIC |
| 92 |
help |
| 93 |
Say Y or M here if you want to add support multiple codecs for SoC |
| 94 |
audio on Rockchip RK3399 GRU boards. |
| 95 |
|
| 96 |
endmenu |