0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SND_SOC_ROCKCHIP
0003 tristate "ASoC support for Rockchip"
0004 depends on COMPILE_TEST || ARCH_ROCKCHIP
0005 help
0006 Say Y or M if you want to add support for codecs attached to
0007 the Rockchip SoCs' Audio interfaces. You will also need to
0008 select the audio interfaces to support below.
0009
0010 config SND_SOC_ROCKCHIP_I2S
0011 tristate "Rockchip I2S Device Driver"
0012 depends on HAVE_CLK && SND_SOC_ROCKCHIP
0013 select SND_SOC_GENERIC_DMAENGINE_PCM
0014 help
0015 Say Y or M if you want to add support for I2S driver for
0016 Rockchip I2S device. The device supports upto maximum of
0017 8 channels each for play and record.
0018
0019 config SND_SOC_ROCKCHIP_I2S_TDM
0020 tristate "Rockchip I2S/TDM Device Driver"
0021 depends on HAVE_CLK && SND_SOC_ROCKCHIP
0022 select SND_SOC_GENERIC_DMAENGINE_PCM
0023 help
0024 Say Y or M if you want to add support for the I2S/TDM driver for
0025 Rockchip I2S/TDM devices, found in Rockchip SoCs. These devices
0026 interface between the AHB bus and the I2S bus, and support up to a
0027 maximum of 8 channels each for playback and recording.
0028
0029
0030 config SND_SOC_ROCKCHIP_PDM
0031 tristate "Rockchip PDM Controller Driver"
0032 depends on HAVE_CLK && SND_SOC_ROCKCHIP
0033 select SND_SOC_GENERIC_DMAENGINE_PCM
0034 select RATIONAL
0035 help
0036 Say Y or M if you want to add support for PDM driver for
0037 Rockchip PDM Controller. The Controller supports up to maximum of
0038 8 channels record.
0039
0040 config SND_SOC_ROCKCHIP_SPDIF
0041 tristate "Rockchip SPDIF Device Driver"
0042 depends on HAVE_CLK && SND_SOC_ROCKCHIP
0043 select SND_SOC_GENERIC_DMAENGINE_PCM
0044 help
0045 Say Y or M if you want to add support for SPDIF driver for
0046 Rockchip SPDIF transceiver device.
0047
0048 config SND_SOC_ROCKCHIP_MAX98090
0049 tristate "ASoC support for Rockchip boards using a MAX98090 codec"
0050 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
0051 select SND_SOC_ROCKCHIP_I2S
0052 select SND_SOC_MAX98090
0053 select SND_SOC_TS3A227E
0054 select SND_SOC_HDMI_CODEC
0055 help
0056 Say Y or M here if you want to add support for SoC audio on Rockchip
0057 boards using the MAX98090 codec and HDMI codec, such as Veyron.
0058
0059 config SND_SOC_ROCKCHIP_RT5645
0060 tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
0061 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
0062 select SND_SOC_ROCKCHIP_I2S
0063 select SND_SOC_RT5645
0064 help
0065 Say Y or M here if you want to add support for SoC audio on Rockchip
0066 boards using the RT5645/RT5650 codec, such as Veyron.
0067
0068 config SND_SOC_RK3288_HDMI_ANALOG
0069 tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
0070 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
0071 select SND_SOC_ROCKCHIP_I2S
0072 select SND_SOC_HDMI_CODEC
0073 select SND_SOC_ES8328_I2C
0074 select SND_SOC_ES8328_SPI if SPI_MASTER
0075 select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
0076 help
0077 Say Y or M here if you want to add support for SoC audio on Rockchip
0078 RK3288 boards using an analog output and the built-in HDMI audio.
0079
0080 config SND_SOC_RK3399_GRU_SOUND
0081 tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
0082 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK && SPI
0083 select SND_SOC_ROCKCHIP_I2S
0084 select SND_SOC_MAX98357A
0085 select SND_SOC_RT5514
0086 select SND_SOC_DA7219
0087 select SND_SOC_RT5514_SPI
0088 select SND_SOC_HDMI_CODEC
0089 select SND_SOC_DMIC
0090 help
0091 Say Y or M here if you want to add support multiple codecs for SoC
0092 audio on Rockchip RK3399 GRU boards.