GNU Linux-libre 4.14.290-gnu1
[releases.git] / sound / soc / davinci / Kconfig
1 config SND_DAVINCI_SOC
2         tristate
3         depends on ARCH_DAVINCI
4         select SND_EDMA_SOC
5
6 config SND_EDMA_SOC
7         tristate "SoC Audio for Texas Instruments chips using eDMA"
8         depends on TI_EDMA
9         select SND_SOC_GENERIC_DMAENGINE_PCM
10         help
11           Say Y or M here if you want audio support for TI SoC which uses eDMA.
12           The following line of SoCs are supported by this platform driver:
13           - daVinci devices
14           - AM335x
15           - AM437x/AM438x
16           - DRA7xx family
17
18 config SND_DAVINCI_SOC_I2S
19         tristate "DaVinci Multichannel Buffered Serial Port (McBSP) support"
20         depends on SND_EDMA_SOC
21         help
22           Say Y or M here if you want to have support for McBSP IP found in
23           Texas Instruments DaVinci DA850 SoCs.
24
25 config SND_DAVINCI_SOC_MCASP
26         tristate "Multichannel Audio Serial Port (McASP) support"
27         depends on SND_OMAP_SOC || SND_EDMA_SOC
28         help
29           Say Y or M here if you want to have support for McASP IP found in
30           various Texas Instruments SoCs like:
31           - daVinci devices
32           - Sitara line of SoCs (AM335x, AM438x, etc)
33           - DRA7x devices
34
35 config SND_DAVINCI_SOC_VCIF
36         tristate
37
38 config SND_DAVINCI_SOC_GENERIC_EVM
39         tristate
40         select SND_SOC_TLV320AIC3X
41         select SND_DAVINCI_SOC_MCASP
42
43 config SND_AM33XX_SOC_EVM
44         tristate "SoC Audio for the AM33XX chip based boards"
45         depends on SND_EDMA_SOC && SOC_AM33XX && I2C
46         select SND_DAVINCI_SOC_GENERIC_EVM
47         help
48           Say Y or M if you want to add support for SoC audio on AM33XX
49           boards using McASP and TLV320AIC3X codec. For example AM335X-EVM,
50           AM335X-EVMSK, and BeagelBone with AudioCape boards have this
51           setup.
52
53 config SND_DAVINCI_SOC_EVM
54         tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM"
55         depends on SND_EDMA_SOC && I2C
56         depends on MACH_DAVINCI_EVM || MACH_DAVINCI_DM355_EVM || MACH_DAVINCI_DM365_EVM
57         select SND_DAVINCI_SOC_GENERIC_EVM
58         help
59           Say Y if you want to add support for SoC audio on TI
60           DaVinci DM6446, DM355 or DM365 EVM platforms.
61
62 choice
63         prompt "DM365 codec select"
64         depends on SND_DAVINCI_SOC_EVM
65         depends on MACH_DAVINCI_DM365_EVM
66
67 config SND_DM365_AIC3X_CODEC
68         tristate "Audio Codec - AIC3101"
69         help
70           Say Y if you want to add support for AIC3101 audio codec
71
72 config SND_DM365_VOICE_CODEC
73         tristate "Voice Codec - CQ93VC"
74         select MFD_DAVINCI_VOICECODEC
75         select SND_DAVINCI_SOC_VCIF
76         select SND_SOC_CQ0093VC
77         help
78           Say Y if you want to add support for SoC On-chip voice codec
79 endchoice
80
81 config  SND_DM6467_SOC_EVM
82         tristate "SoC Audio support for DaVinci DM6467 EVM"
83         depends on SND_EDMA_SOC && MACH_DAVINCI_DM6467_EVM && I2C
84         select SND_DAVINCI_SOC_GENERIC_EVM
85         select SND_SOC_SPDIF
86
87         help
88           Say Y if you want to add support for SoC audio on TI
89
90 config  SND_DA830_SOC_EVM
91         tristate "SoC Audio support for DA830/OMAP-L137 EVM"
92         depends on SND_EDMA_SOC && MACH_DAVINCI_DA830_EVM && I2C
93         select SND_DAVINCI_SOC_GENERIC_EVM
94
95         help
96           Say Y if you want to add support for SoC audio on TI
97           DA830/OMAP-L137 EVM
98
99 config  SND_DA850_SOC_EVM
100         tristate "SoC Audio support for DA850/OMAP-L138 EVM"
101         depends on SND_EDMA_SOC && MACH_DAVINCI_DA850_EVM && I2C
102         select SND_DAVINCI_SOC_GENERIC_EVM
103         help
104           Say Y if you want to add support for SoC audio on TI
105           DA850/OMAP-L138 EVM
106