xref: /openbmc/linux/sound/soc/rockchip/Kconfig (revision 4f6cce39)
1config SND_SOC_ROCKCHIP
2	tristate "ASoC support for Rockchip"
3	depends on COMPILE_TEST || ARCH_ROCKCHIP
4	help
5	  Say Y or M if you want to add support for codecs attached to
6	  the Rockchip SoCs' Audio interfaces. You will also need to
7	  select the audio interfaces to support below.
8
9config SND_SOC_ROCKCHIP_I2S
10	tristate "Rockchip I2S Device Driver"
11	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
12	select SND_SOC_GENERIC_DMAENGINE_PCM
13	help
14	  Say Y or M if you want to add support for I2S driver for
15	  Rockchip I2S device. The device supports upto maximum of
16	  8 channels each for play and record.
17
18config SND_SOC_ROCKCHIP_SPDIF
19	tristate "Rockchip SPDIF Device Driver"
20	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
21	select SND_SOC_GENERIC_DMAENGINE_PCM
22	help
23	  Say Y or M if you want to add support for SPDIF driver for
24	  Rockchip SPDIF transceiver device.
25
26config SND_SOC_ROCKCHIP_MAX98090
27	tristate "ASoC support for Rockchip boards using a MAX98090 codec"
28	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
29	select SND_SOC_ROCKCHIP_I2S
30	select SND_SOC_MAX98090
31	select SND_SOC_TS3A227E
32	help
33	  Say Y or M here if you want to add support for SoC audio on Rockchip
34	  boards using the MAX98090 codec, such as Veyron.
35
36config SND_SOC_ROCKCHIP_RT5645
37	tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
38	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
39	select SND_SOC_ROCKCHIP_I2S
40	select SND_SOC_RT5645
41	help
42	  Say Y or M here if you want to add support for SoC audio on Rockchip
43	  boards using the RT5645/RT5650 codec, such as Veyron.
44
45config SND_SOC_RK3288_HDMI_ANALOG
46	tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
47	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
48	select SND_SOC_ROCKCHIP_I2S
49	select SND_SOC_HDMI_CODEC
50	help
51	  Say Y or M here if you want to add support for SoC audio on Rockchip
52	  RK3288 boards using an analog output and the built-in HDMI audio.
53
54config SND_SOC_RK3399_GRU_SOUND
55	tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
56	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
57	select SND_SOC_ROCKCHIP_I2S
58	select SND_SOC_MAX98357A
59	select SND_SOC_RT5514
60	select SND_SOC_DA7219
61	select SND_SOC_RT5514_SPI
62	help
63	  Say Y or M here if you want to add support multiple codecs for SoC
64	  audio on Rockchip RK3399 GRU boards.
65