xref: /openbmc/linux/sound/soc/rockchip/Kconfig (revision 023e4163)
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_PDM
19	tristate "Rockchip PDM Controller 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 PDM driver for
24	  Rockchip PDM Controller. The Controller supports up to maximum of
25	  8 channels record.
26
27config SND_SOC_ROCKCHIP_SPDIF
28	tristate "Rockchip SPDIF Device Driver"
29	depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
30	select SND_SOC_GENERIC_DMAENGINE_PCM
31	help
32	  Say Y or M if you want to add support for SPDIF driver for
33	  Rockchip SPDIF transceiver device.
34
35config SND_SOC_ROCKCHIP_MAX98090
36	tristate "ASoC support for Rockchip boards using a MAX98090 codec"
37	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
38	select SND_SOC_ROCKCHIP_I2S
39	select SND_SOC_MAX98090
40	select SND_SOC_TS3A227E
41	help
42	  Say Y or M here if you want to add support for SoC audio on Rockchip
43	  boards using the MAX98090 codec, such as Veyron.
44
45config SND_SOC_ROCKCHIP_RT5645
46	tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
47	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
48	select SND_SOC_ROCKCHIP_I2S
49	select SND_SOC_RT5645
50	help
51	  Say Y or M here if you want to add support for SoC audio on Rockchip
52	  boards using the RT5645/RT5650 codec, such as Veyron.
53
54config SND_SOC_RK3288_HDMI_ANALOG
55	tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
56	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
57	select SND_SOC_ROCKCHIP_I2S
58	select SND_SOC_HDMI_CODEC
59	select SND_SOC_ES8328_I2C
60	select SND_SOC_ES8328_SPI if SPI_MASTER
61	select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
62	help
63	  Say Y or M here if you want to add support for SoC audio on Rockchip
64	  RK3288 boards using an analog output and the built-in HDMI audio.
65
66config SND_SOC_RK3399_GRU_SOUND
67	tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
68	depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
69	select SND_SOC_ROCKCHIP_I2S
70	select SND_SOC_MAX98357A
71	select SND_SOC_RT5514
72	select SND_SOC_DA7219
73	select SND_SOC_RT5514_SPI
74	select SND_SOC_HDMI_CODEC
75	select SND_SOC_DMIC
76	help
77	  Say Y or M here if you want to add support multiple codecs for SoC
78	  audio on Rockchip RK3399 GRU boards.
79