1 # SPDX-License-Identifier: GPL-2.0-only
2 config SND_SOC_ROCKCHIP
3 tristate "ASoC support for Rockchip"
4 depends on COMPILE_TEST || ARCH_ROCKCHIP
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.
10 config SND_SOC_ROCKCHIP_I2S
11 tristate "Rockchip I2S Device Driver"
12 depends on HAVE_CLK && SND_SOC_ROCKCHIP
13 select SND_SOC_GENERIC_DMAENGINE_PCM
15 Say Y or M if you want to add support for I2S driver for
16 Rockchip I2S device. The device supports up to maximum of
17 8 channels each for play and record.
19 config SND_SOC_ROCKCHIP_I2S_TDM
20 tristate "Rockchip I2S/TDM Device Driver"
21 depends on HAVE_CLK && SND_SOC_ROCKCHIP
22 select SND_SOC_GENERIC_DMAENGINE_PCM
24 Say Y or M if you want to add support for the I2S/TDM driver for
25 Rockchip I2S/TDM devices, found in Rockchip SoCs. These devices
26 interface between the AHB bus and the I2S bus, and support up to a
27 maximum of 8 channels each for playback and recording.
30 config SND_SOC_ROCKCHIP_PDM
31 tristate "Rockchip PDM Controller Driver"
32 depends on HAVE_CLK && SND_SOC_ROCKCHIP
33 select SND_SOC_GENERIC_DMAENGINE_PCM
36 Say Y or M if you want to add support for PDM driver for
37 Rockchip PDM Controller. The Controller supports up to maximum of
40 config SND_SOC_ROCKCHIP_SPDIF
41 tristate "Rockchip SPDIF Device Driver"
42 depends on HAVE_CLK && SND_SOC_ROCKCHIP
43 select SND_SOC_GENERIC_DMAENGINE_PCM
45 Say Y or M if you want to add support for SPDIF driver for
46 Rockchip SPDIF transceiver device.
48 config SND_SOC_ROCKCHIP_MAX98090
49 tristate "ASoC support for Rockchip boards using a MAX98090 codec"
50 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
51 select SND_SOC_ROCKCHIP_I2S
52 select SND_SOC_MAX98090
53 select SND_SOC_TS3A227E
54 select SND_SOC_HDMI_CODEC
56 Say Y or M here if you want to add support for SoC audio on Rockchip
57 boards using the MAX98090 codec and HDMI codec, such as Veyron.
59 config SND_SOC_ROCKCHIP_RT5645
60 tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
61 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
62 select SND_SOC_ROCKCHIP_I2S
65 Say Y or M here if you want to add support for SoC audio on Rockchip
66 boards using the RT5645/RT5650 codec, such as Veyron.
68 config SND_SOC_RK3288_HDMI_ANALOG
69 tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
70 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
71 select SND_SOC_ROCKCHIP_I2S
72 select SND_SOC_HDMI_CODEC
73 select SND_SOC_ES8328_I2C
74 select SND_SOC_ES8328_SPI if SPI_MASTER
75 select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
77 Say Y or M here if you want to add support for SoC audio on Rockchip
78 RK3288 boards using an analog output and the built-in HDMI audio.
80 config SND_SOC_RK3399_GRU_SOUND
81 tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
82 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK && SPI
83 select SND_SOC_ROCKCHIP_I2S
84 select SND_SOC_MAX98357A
87 select SND_SOC_RT5514_SPI
88 select SND_SOC_HDMI_CODEC
91 Say Y or M here if you want to add support multiple codecs for SoC
92 audio on Rockchip RK3399 GRU boards.