Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
4495c89f JX |
2 | config SND_SOC_ROCKCHIP |
3 | tristate "ASoC support for Rockchip" | |
4 | depends on COMPILE_TEST || ARCH_ROCKCHIP | |
4495c89f JX |
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 | ||
38306afc | 10 | config SND_SOC_ROCKCHIP_I2S |
9ce63dbd | 11 | tristate "Rockchip I2S Device Driver" |
8d213de7 AR |
12 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
13 | select SND_SOC_GENERIC_DMAENGINE_PCM | |
9ce63dbd J |
14 | help |
15 | Say Y or M if you want to add support for I2S driver for | |
16 | Rockchip I2S device. The device supports upto maximum of | |
17 | 8 channels each for play and record. | |
49bdb044 | 18 | |
fc05a5b2 SZ |
19 | config SND_SOC_ROCKCHIP_PDM |
20 | tristate "Rockchip PDM Controller Driver" | |
21 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP | |
22 | select SND_SOC_GENERIC_DMAENGINE_PCM | |
23 | help | |
24 | Say Y or M if you want to add support for PDM driver for | |
25 | Rockchip PDM Controller. The Controller supports up to maximum of | |
26 | 8 channels record. | |
27 | ||
f874b80e SS |
28 | config SND_SOC_ROCKCHIP_SPDIF |
29 | tristate "Rockchip SPDIF Device Driver" | |
30 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP | |
31 | select SND_SOC_GENERIC_DMAENGINE_PCM | |
32 | help | |
33 | Say Y or M if you want to add support for SPDIF driver for | |
34 | Rockchip SPDIF transceiver device. | |
35 | ||
49bdb044 | 36 | config SND_SOC_ROCKCHIP_MAX98090 |
37 | tristate "ASoC support for Rockchip boards using a MAX98090 codec" | |
9d705947 | 38 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
49bdb044 | 39 | select SND_SOC_ROCKCHIP_I2S |
40 | select SND_SOC_MAX98090 | |
41 | select SND_SOC_TS3A227E | |
42 | help | |
43 | Say Y or M here if you want to add support for SoC audio on Rockchip | |
44 | boards using the MAX98090 codec, such as Veyron. | |
86059653 | 45 | |
46 | config SND_SOC_ROCKCHIP_RT5645 | |
47 | tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" | |
9d705947 | 48 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
86059653 | 49 | select SND_SOC_ROCKCHIP_I2S |
50 | select SND_SOC_RT5645 | |
51 | help | |
52 | Say Y or M here if you want to add support for SoC audio on Rockchip | |
53 | boards using the RT5645/RT5650 codec, such as Veyron. | |
c6eac8a3 | 54 | |
eaae2ea7 RP |
55 | config SND_SOC_RK3288_HDMI_ANALOG |
56 | tristate "ASoC support multiple codecs for Rockchip RK3288 boards" | |
57 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP | |
58 | select SND_SOC_ROCKCHIP_I2S | |
59 | select SND_SOC_HDMI_CODEC | |
b1d0db06 EG |
60 | select SND_SOC_ES8328_I2C |
61 | select SND_SOC_ES8328_SPI if SPI_MASTER | |
62 | select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI | |
eaae2ea7 RP |
63 | help |
64 | Say Y or M here if you want to add support for SoC audio on Rockchip | |
65 | RK3288 boards using an analog output and the built-in HDMI audio. | |
66 | ||
c6eac8a3 XZ |
67 | config SND_SOC_RK3399_GRU_SOUND |
68 | tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" | |
f506513a | 69 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI |
c6eac8a3 XZ |
70 | select SND_SOC_ROCKCHIP_I2S |
71 | select SND_SOC_MAX98357A | |
72 | select SND_SOC_RT5514 | |
73 | select SND_SOC_DA7219 | |
e5abe959 | 74 | select SND_SOC_RT5514_SPI |
3313faf1 | 75 | select SND_SOC_HDMI_CODEC |
626d84db | 76 | select SND_SOC_DMIC |
c6eac8a3 XZ |
77 | help |
78 | Say Y or M here if you want to add support multiple codecs for SoC | |
79 | audio on Rockchip RK3399 GRU boards. |