ASoC: rockchip: add support for pdm controller
[firefly-linux-kernel-4.4.55.git] / sound / soc / rockchip / Kconfig
1 config 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
9 config 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
18 config 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
27 config 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
35 config SND_SOC_ROCKCHIP_DA7219
36         tristate "ASoC support for Rockchip boards using a DA7219 codec"
37         depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB
38         select SND_SOC_ROCKCHIP_I2S
39         select SND_SOC_DA7219
40         help
41           Say Y or M here if you want to add support for SoC audio on Rockchip
42           boards using the DA7219 codec, such as Veyron.
43
44 config SND_SOC_ROCKCHIP_HDMI_DP
45         tristate "ASoC support for Rockchip built-in HDMI and DP"
46         depends on SND_SOC_ROCKCHIP && CLKDEV_LOOKUP
47         depends on ROCKCHIP_CDN_DP || DRM_DW_HDMI_I2S_AUDIO
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           boards using built-in HDMI and DP, such as RK3399 boards.
53
54 config SND_SOC_ROCKCHIP_MAX98090
55         tristate "ASoC support for Rockchip boards using a MAX98090 codec"
56         depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
57         select SND_SOC_ROCKCHIP_I2S
58         select SND_SOC_MAX98090
59         select SND_SOC_TS3A227E
60         help
61           Say Y or M here if you want to add support for SoC audio on Rockchip
62           boards using the MAX98090 codec, such as Veyron.
63
64 config SND_SOC_ROCKCHIP_RT5645
65         tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
66         depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
67         select SND_SOC_ROCKCHIP_I2S
68         select SND_SOC_RT5645
69         help
70           Say Y or M here if you want to add support for SoC audio on Rockchip
71           boards using the RT5645/RT5650 codec, such as Veyron.
72
73 config SND_SOC_ROCKCHIP_CDNDP
74         tristate "ASoC support for Rockchip CDN DP common codec"
75         depends on SND_SOC_ROCKCHIP && CLKDEV_LOOKUP
76         select SND_SOC_ROCKCHIP_I2S
77         help
78           Say Y or M here if you want to add support for SoC audio on Rockchip
79           boards using CDN DP, such as RK3399 boards.