ASoC: use of_property_read_bool
[cascardo/linux.git] / sound / soc / intel / Kconfig
1 config SND_MFLD_MACHINE
2         tristate "SOC Machine Audio driver for Intel Medfield MID platform"
3         depends on INTEL_SCU_IPC
4         select SND_SOC_SN95031
5         select SND_SST_MFLD_PLATFORM
6         select SND_SST_IPC_PCI
7         help
8           This adds support for ASoC machine driver for Intel(R) MID Medfield platform
9           used as alsa device in audio substem in Intel(R) MID devices
10           Say Y if you have such a device.
11           If unsure select "N".
12
13 config SND_SST_MFLD_PLATFORM
14         tristate
15         select SND_SOC_COMPRESS
16
17 config SND_SST_IPC
18         tristate
19
20 config SND_SST_IPC_PCI
21         tristate
22         select SND_SST_IPC
23
24 config SND_SST_IPC_ACPI
25         tristate
26         select SND_SST_IPC
27         select SND_SOC_INTEL_SST
28
29 config SND_SOC_INTEL_SST
30         tristate
31         select SND_SOC_INTEL_SST_ACPI if ACPI
32         select SND_SOC_INTEL_SST_MATCH if ACPI
33         depends on (X86 || COMPILE_TEST)
34
35 # firmware stuff depends DW_DMAC_CORE; since there is no depends-on from
36 # the reverse selection, each machine driver needs to select
37 # SND_SOC_INTEL_SST_FIRMWARE carefully depending on DW_DMAC_CORE
38 config SND_SOC_INTEL_SST_FIRMWARE
39         tristate
40
41 config SND_SOC_INTEL_SST_ACPI
42         tristate
43
44 config SND_SOC_INTEL_SST_MATCH
45         tristate
46
47 config SND_SOC_INTEL_HASWELL
48         tristate
49
50 config SND_SOC_INTEL_BAYTRAIL
51         tristate
52
53 config SND_SOC_INTEL_HASWELL_MACH
54         tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint"
55         depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM
56         depends on DW_DMAC_CORE
57         select SND_SOC_INTEL_SST
58         select SND_SOC_INTEL_SST_FIRMWARE
59         select SND_SOC_INTEL_HASWELL
60         select SND_SOC_RT5640
61         help
62           This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
63           Ultrabook platforms.
64           Say Y if you have such a device.
65           If unsure select "N".
66
67 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
68         tristate "ASoC Audio driver for Broxton with DA7219 and MAX98357A in I2S Mode"
69         depends on X86 && ACPI && I2C
70         select SND_SOC_INTEL_SST
71         select SND_SOC_INTEL_SKYLAKE
72         select SND_SOC_DA7219
73         select SND_SOC_MAX98357A
74         select SND_SOC_DMIC
75         select SND_SOC_HDAC_HDMI
76         select SND_HDA_DSP_LOADER
77         help
78            This adds support for ASoC machine driver for Broxton-P platforms
79            with DA7219 + MAX98357A I2S audio codec.
80            Say Y if you have such a device.
81            If unsure select "N".
82
83 config SND_SOC_INTEL_BXT_RT298_MACH
84         tristate "ASoC Audio driver for Broxton with RT298 I2S mode"
85         depends on X86 && ACPI && I2C
86         select SND_SOC_INTEL_SST
87         select SND_SOC_INTEL_SKYLAKE
88         select SND_SOC_RT298
89         select SND_SOC_DMIC
90         select SND_SOC_HDAC_HDMI
91         select SND_HDA_DSP_LOADER
92         help
93            This adds support for ASoC machine driver for Broxton platforms
94            with RT286 I2S audio codec.
95            Say Y if you have such a device.
96            If unsure select "N".
97
98 config SND_SOC_INTEL_BYT_RT5640_MACH
99         tristate "ASoC Audio driver for Intel Baytrail with RT5640 codec"
100         depends on X86_INTEL_LPSS && I2C
101         depends on DW_DMAC_CORE && (SND_SST_IPC_ACPI = n)
102         select SND_SOC_INTEL_SST
103         select SND_SOC_INTEL_SST_FIRMWARE
104         select SND_SOC_INTEL_BAYTRAIL
105         select SND_SOC_RT5640
106         help
107           This adds audio driver for Intel Baytrail platform based boards
108           with the RT5640 audio codec. This driver is deprecated, use
109           SND_SOC_INTEL_BYTCR_RT5640_MACH instead for better functionality.
110
111 config SND_SOC_INTEL_BYT_MAX98090_MACH
112         tristate "ASoC Audio driver for Intel Baytrail with MAX98090 codec"
113         depends on X86_INTEL_LPSS && I2C
114         depends on DW_DMAC_CORE && (SND_SST_IPC_ACPI = n)
115         select SND_SOC_INTEL_SST
116         select SND_SOC_INTEL_SST_FIRMWARE
117         select SND_SOC_INTEL_BAYTRAIL
118         select SND_SOC_MAX98090
119         help
120           This adds audio driver for Intel Baytrail platform based boards
121           with the MAX98090 audio codec.
122
123 config SND_SOC_INTEL_BROADWELL_MACH
124         tristate "ASoC Audio DSP support for Intel Broadwell Wildcatpoint"
125         depends on X86_INTEL_LPSS && I2C && DW_DMAC && \
126                    I2C_DESIGNWARE_PLATFORM
127         depends on DW_DMAC_CORE
128         select SND_SOC_INTEL_SST
129         select SND_SOC_INTEL_SST_FIRMWARE
130         select SND_SOC_INTEL_HASWELL
131         select SND_SOC_RT286
132         help
133           This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
134           Ultrabook platforms.
135           Say Y if you have such a device.
136           If unsure select "N".
137
138 config SND_SOC_INTEL_BYTCR_RT5640_MACH
139         tristate "ASoC Audio driver for Intel Baytrail and Baytrail-CR with RT5640 codec"
140         depends on X86 && I2C && ACPI
141         select SND_SOC_RT5640
142         select SND_SST_MFLD_PLATFORM
143         select SND_SST_IPC_ACPI
144         select SND_SOC_INTEL_SST_MATCH if ACPI
145         help
146           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
147           platforms with RT5640 audio codec.
148           Say Y if you have such a device.
149           If unsure select "N".
150
151 config SND_SOC_INTEL_BYTCR_RT5651_MACH
152         tristate "ASoC Audio driver for Intel Baytrail and Baytrail-CR with RT5651 codec"
153         depends on X86 && I2C && ACPI
154         select SND_SOC_RT5651
155         select SND_SST_MFLD_PLATFORM
156         select SND_SST_IPC_ACPI
157         select SND_SOC_INTEL_SST_MATCH if ACPI
158         help
159           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
160           platforms with RT5651 audio codec.
161           Say Y if you have such a device.
162           If unsure select "N".
163
164 config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
165         tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with RT5672 codec"
166         depends on X86_INTEL_LPSS && I2C && ACPI
167         select SND_SOC_RT5670
168         select SND_SST_MFLD_PLATFORM
169         select SND_SST_IPC_ACPI
170         select SND_SOC_INTEL_SST_MATCH if ACPI
171         help
172           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
173           platforms with RT5672 audio codec.
174           Say Y if you have such a device.
175           If unsure select "N".
176
177 config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
178         tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with RT5645/5650 codec"
179         depends on X86_INTEL_LPSS && I2C && ACPI
180         select SND_SOC_RT5645
181         select SND_SST_MFLD_PLATFORM
182         select SND_SST_IPC_ACPI
183         select SND_SOC_INTEL_SST_MATCH if ACPI
184         help
185           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
186           platforms with RT5645/5650 audio codec.
187           If unsure select "N".
188
189 config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
190         tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with MAX98090 & TI codec"
191         depends on X86_INTEL_LPSS && I2C && ACPI
192         select SND_SOC_MAX98090
193         select SND_SOC_TS3A227E
194         select SND_SST_MFLD_PLATFORM
195         select SND_SST_IPC_ACPI
196         select SND_SOC_INTEL_SST_MATCH if ACPI
197         help
198           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
199           platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
200           If unsure select "N".
201
202 config SND_SOC_INTEL_SKYLAKE
203         tristate
204         select SND_HDA_EXT_CORE
205         select SND_HDA_DSP_LOADER
206         select SND_SOC_TOPOLOGY
207         select SND_SOC_INTEL_SST
208
209 config SND_SOC_INTEL_SKL_RT286_MACH
210         tristate "ASoC Audio driver for SKL with RT286 I2S mode"
211         depends on X86 && ACPI && I2C
212         select SND_SOC_INTEL_SST
213         select SND_SOC_INTEL_SKYLAKE
214         select SND_SOC_RT286
215         select SND_SOC_DMIC
216         select SND_SOC_HDAC_HDMI
217         help
218            This adds support for ASoC machine driver for Skylake platforms
219            with RT286 I2S audio codec.
220            Say Y if you have such a device.
221            If unsure select "N".
222
223 config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
224         tristate "ASoC Audio driver for SKL with NAU88L25 and SSM4567 in I2S Mode"
225         depends on X86_INTEL_LPSS && I2C
226         select SND_SOC_INTEL_SST
227         select SND_SOC_INTEL_SKYLAKE
228         select SND_SOC_NAU8825
229         select SND_SOC_SSM4567
230         select SND_SOC_DMIC
231         select SND_SOC_HDAC_HDMI
232         help
233           This adds support for ASoC Onboard Codec I2S machine driver. This will
234           create an alsa sound card for NAU88L25 + SSM4567.
235           Say Y if you have such a device.
236           If unsure select "N".
237
238 config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
239         tristate "ASoC Audio driver for SKL with NAU88L25 and MAX98357A in I2S Mode"
240         depends on X86_INTEL_LPSS && I2C
241         select SND_SOC_INTEL_SST
242         select SND_SOC_INTEL_SKYLAKE
243         select SND_SOC_NAU8825
244         select SND_SOC_MAX98357A
245         select SND_SOC_DMIC
246         select SND_SOC_HDAC_HDMI
247         help
248           This adds support for ASoC Onboard Codec I2S machine driver. This will
249           create an alsa sound card for NAU88L25 + MAX98357A.
250           Say Y if you have such a device.
251           If unsure select "N".