blob: d610b553ea3b28e0285dfcd44a2befe8617aa118 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jianqun Xu4495c892014-07-05 19:13:03 +08002config SND_SOC_ROCKCHIP
3 tristate "ASoC support for Rockchip"
4 depends on COMPILE_TEST || ARCH_ROCKCHIP
Jianqun Xu4495c892014-07-05 19:13:03 +08005 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
Jianqun38306af2014-09-13 08:40:19 +080010config SND_SOC_ROCKCHIP_I2S
Jianqun9ce63db2014-11-01 10:58:18 +080011 tristate "Rockchip I2S Device Driver"
Andreas Ruprecht8d213de2014-11-21 20:50:46 +010012 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
13 select SND_SOC_GENERIC_DMAENGINE_PCM
Jianqun9ce63db2014-11-01 10:58:18 +080014 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.
zhengxing49bdb042015-07-19 19:33:48 +080018
Sugar Zhangfc05a5b2017-06-13 15:27:46 +080019config 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
Arnd Bergmann41d92e02019-06-17 13:03:51 +020023 select RATIONAL
Sugar Zhangfc05a5b2017-06-13 15:27:46 +080024 help
25 Say Y or M if you want to add support for PDM driver for
26 Rockchip PDM Controller. The Controller supports up to maximum of
27 8 channels record.
28
Sjoerd Simonsf874b802015-10-08 15:31:13 +020029config SND_SOC_ROCKCHIP_SPDIF
30 tristate "Rockchip SPDIF Device Driver"
31 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
32 select SND_SOC_GENERIC_DMAENGINE_PCM
33 help
34 Say Y or M if you want to add support for SPDIF driver for
35 Rockchip SPDIF transceiver device.
36
zhengxing49bdb042015-07-19 19:33:48 +080037config SND_SOC_ROCKCHIP_MAX98090
38 tristate "ASoC support for Rockchip boards using a MAX98090 codec"
Axel Lin9d705942015-09-18 15:25:32 +080039 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
zhengxing49bdb042015-07-19 19:33:48 +080040 select SND_SOC_ROCKCHIP_I2S
41 select SND_SOC_MAX98090
42 select SND_SOC_TS3A227E
Cheng-Yi Chiangbf2f64e2019-10-28 15:19:28 +080043 select SND_SOC_HDMI_CODEC
zhengxing49bdb042015-07-19 19:33:48 +080044 help
45 Say Y or M here if you want to add support for SoC audio on Rockchip
Cheng-Yi Chiangbf2f64e2019-10-28 15:19:28 +080046 boards using the MAX98090 codec and HDMI codec, such as Veyron.
zhengxing86059652015-07-19 19:33:49 +080047
48config SND_SOC_ROCKCHIP_RT5645
49 tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
Axel Lin9d705942015-09-18 15:25:32 +080050 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
zhengxing86059652015-07-19 19:33:49 +080051 select SND_SOC_ROCKCHIP_I2S
52 select SND_SOC_RT5645
53 help
54 Say Y or M here if you want to add support for SoC audio on Rockchip
55 boards using the RT5645/RT5650 codec, such as Veyron.
Xing Zhengc6eac8a2016-08-03 16:10:00 +080056
Romain Periereaae2ea2017-02-03 15:37:59 +010057config SND_SOC_RK3288_HDMI_ANALOG
58 tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
59 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
60 select SND_SOC_ROCKCHIP_I2S
61 select SND_SOC_HDMI_CODEC
Ezequiel Garciab1d0db02018-03-20 13:03:31 -030062 select SND_SOC_ES8328_I2C
63 select SND_SOC_ES8328_SPI if SPI_MASTER
64 select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
Romain Periereaae2ea2017-02-03 15:37:59 +010065 help
66 Say Y or M here if you want to add support for SoC audio on Rockchip
67 RK3288 boards using an analog output and the built-in HDMI audio.
68
Xing Zhengc6eac8a2016-08-03 16:10:00 +080069config SND_SOC_RK3399_GRU_SOUND
70 tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
Arnd Bergmannf5065132016-08-26 17:50:55 +020071 depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
Xing Zhengc6eac8a2016-08-03 16:10:00 +080072 select SND_SOC_ROCKCHIP_I2S
73 select SND_SOC_MAX98357A
74 select SND_SOC_RT5514
75 select SND_SOC_DA7219
Xing Zhenge5abe952016-08-19 21:56:12 +080076 select SND_SOC_RT5514_SPI
Jeffy Chen3313faf2017-08-24 12:52:25 +080077 select SND_SOC_HDMI_CODEC
Jeffy Chen626d84d2017-08-24 12:52:26 +080078 select SND_SOC_DMIC
Xing Zhengc6eac8a2016-08-03 16:10:00 +080079 help
80 Say Y or M here if you want to add support multiple codecs for SoC
81 audio on Rockchip RK3399 GRU boards.