Kconfig (9594408763d439287742d5582842db6a476bbd71) Kconfig (a96d2ba2d8248d5e8170f2f44f98d4a33329b08a)
1# SPDX-License-Identifier: GPL-2.0-only
2# Helper to resolve issues with configs that have SPI enabled but I2C
3# modular, meaning we can't build the codec driver in with I2C support.
4# We use an ordered list of conditional defaults to pick the appropriate
5# setting - SPI can't be modular so that case doesn't need to be covered.
6config SND_SOC_I2C_AND_SPI
7 tristate
8 default m if I2C=m

--- 147 unchanged lines hidden (view full) ---

156 imply SND_SOC_PCM512x_SPI
157 imply SND_SOC_RK3328
158 imply SND_SOC_RT274
159 imply SND_SOC_RT286
160 imply SND_SOC_RT298
161 imply SND_SOC_RT1011
162 imply SND_SOC_RT1015
163 imply SND_SOC_RT1015P
1# SPDX-License-Identifier: GPL-2.0-only
2# Helper to resolve issues with configs that have SPI enabled but I2C
3# modular, meaning we can't build the codec driver in with I2C support.
4# We use an ordered list of conditional defaults to pick the appropriate
5# setting - SPI can't be modular so that case doesn't need to be covered.
6config SND_SOC_I2C_AND_SPI
7 tristate
8 default m if I2C=m

--- 147 unchanged lines hidden (view full) ---

156 imply SND_SOC_PCM512x_SPI
157 imply SND_SOC_RK3328
158 imply SND_SOC_RT274
159 imply SND_SOC_RT286
160 imply SND_SOC_RT298
161 imply SND_SOC_RT1011
162 imply SND_SOC_RT1015
163 imply SND_SOC_RT1015P
164 imply SND_SOC_RT1019
164 imply SND_SOC_RT1305
165 imply SND_SOC_RT1308
166 imply SND_SOC_RT5514
167 imply SND_SOC_RT5616
168 imply SND_SOC_RT5631
169 imply SND_SOC_RT5640
170 imply SND_SOC_RT5645
171 imply SND_SOC_RT5651
172 imply SND_SOC_RT5659
173 imply SND_SOC_RT5660
174 imply SND_SOC_RT5663
175 imply SND_SOC_RT5665
176 imply SND_SOC_RT5668
177 imply SND_SOC_RT5670
178 imply SND_SOC_RT5677
179 imply SND_SOC_RT5682_I2C
180 imply SND_SOC_RT5682_SDW
181 imply SND_SOC_RT700_SDW
182 imply SND_SOC_RT711_SDW
165 imply SND_SOC_RT1305
166 imply SND_SOC_RT1308
167 imply SND_SOC_RT5514
168 imply SND_SOC_RT5616
169 imply SND_SOC_RT5631
170 imply SND_SOC_RT5640
171 imply SND_SOC_RT5645
172 imply SND_SOC_RT5651
173 imply SND_SOC_RT5659
174 imply SND_SOC_RT5660
175 imply SND_SOC_RT5663
176 imply SND_SOC_RT5665
177 imply SND_SOC_RT5668
178 imply SND_SOC_RT5670
179 imply SND_SOC_RT5677
180 imply SND_SOC_RT5682_I2C
181 imply SND_SOC_RT5682_SDW
182 imply SND_SOC_RT700_SDW
183 imply SND_SOC_RT711_SDW
184 imply SND_SOC_RT711_SDCA_SDW
183 imply SND_SOC_RT715_SDW
185 imply SND_SOC_RT715_SDW
186 imply SND_SOC_RT715_SDCA_SDW
184 imply SND_SOC_RT1308_SDW
187 imply SND_SOC_RT1308_SDW
188 imply SND_SOC_RT1316_SDW
185 imply SND_SOC_SGTL5000
186 imply SND_SOC_SI476X
187 imply SND_SOC_SIMPLE_AMPLIFIER
188 imply SND_SOC_SIMPLE_MUX
189 imply SND_SOC_SPDIF
190 imply SND_SOC_SSM2305
191 imply SND_SOC_SSM2518
192 imply SND_SOC_SSM2602_SPI

--- 16 unchanged lines hidden (view full) ---

209 imply SND_SOC_TFA9879
210 imply SND_SOC_TLV320ADCX140
211 imply SND_SOC_TLV320AIC23_I2C
212 imply SND_SOC_TLV320AIC23_SPI
213 imply SND_SOC_TLV320AIC26
214 imply SND_SOC_TLV320AIC31XX
215 imply SND_SOC_TLV320AIC32X4_I2C
216 imply SND_SOC_TLV320AIC32X4_SPI
189 imply SND_SOC_SGTL5000
190 imply SND_SOC_SI476X
191 imply SND_SOC_SIMPLE_AMPLIFIER
192 imply SND_SOC_SIMPLE_MUX
193 imply SND_SOC_SPDIF
194 imply SND_SOC_SSM2305
195 imply SND_SOC_SSM2518
196 imply SND_SOC_SSM2602_SPI

--- 16 unchanged lines hidden (view full) ---

213 imply SND_SOC_TFA9879
214 imply SND_SOC_TLV320ADCX140
215 imply SND_SOC_TLV320AIC23_I2C
216 imply SND_SOC_TLV320AIC23_SPI
217 imply SND_SOC_TLV320AIC26
218 imply SND_SOC_TLV320AIC31XX
219 imply SND_SOC_TLV320AIC32X4_I2C
220 imply SND_SOC_TLV320AIC32X4_SPI
217 imply SND_SOC_TLV320AIC3X
221 imply SND_SOC_TLV320AIC3X_I2C
218 imply SND_SOC_TPA6130A2
219 imply SND_SOC_TLV320DAC33
220 imply SND_SOC_TSCS42XX
221 imply SND_SOC_TSCS454
222 imply SND_SOC_TS3A227E
223 imply SND_SOC_TWL4030
224 imply SND_SOC_TWL6040
225 imply SND_SOC_UDA1334

--- 845 unchanged lines hidden (view full) ---

1071 default y if SND_SOC_RT5665=y
1072 default y if SND_SOC_RT5668=y
1073 default y if SND_SOC_RT5670=y
1074 default y if SND_SOC_RT5677=y
1075 default y if SND_SOC_RT5682=y
1076 default y if SND_SOC_RT1011=y
1077 default y if SND_SOC_RT1015=y
1078 default y if SND_SOC_RT1015P=y
222 imply SND_SOC_TPA6130A2
223 imply SND_SOC_TLV320DAC33
224 imply SND_SOC_TSCS42XX
225 imply SND_SOC_TSCS454
226 imply SND_SOC_TS3A227E
227 imply SND_SOC_TWL4030
228 imply SND_SOC_TWL6040
229 imply SND_SOC_UDA1334

--- 845 unchanged lines hidden (view full) ---

1075 default y if SND_SOC_RT5665=y
1076 default y if SND_SOC_RT5668=y
1077 default y if SND_SOC_RT5670=y
1078 default y if SND_SOC_RT5677=y
1079 default y if SND_SOC_RT5682=y
1080 default y if SND_SOC_RT1011=y
1081 default y if SND_SOC_RT1015=y
1082 default y if SND_SOC_RT1015P=y
1083 default y if SND_SOC_RT1019=y
1079 default y if SND_SOC_RT1305=y
1080 default y if SND_SOC_RT1308=y
1081 default m if SND_SOC_RT5514=m
1082 default m if SND_SOC_RT5616=m
1083 default m if SND_SOC_RT5640=m
1084 default m if SND_SOC_RT5645=m
1085 default m if SND_SOC_RT5651=m
1086 default m if SND_SOC_RT5659=m
1087 default m if SND_SOC_RT5660=m
1088 default m if SND_SOC_RT5663=m
1089 default m if SND_SOC_RT5665=m
1090 default m if SND_SOC_RT5668=m
1091 default m if SND_SOC_RT5670=m
1092 default m if SND_SOC_RT5677=m
1093 default m if SND_SOC_RT5682=m
1094 default m if SND_SOC_RT1011=m
1095 default m if SND_SOC_RT1015=m
1096 default m if SND_SOC_RT1015P=m
1084 default y if SND_SOC_RT1305=y
1085 default y if SND_SOC_RT1308=y
1086 default m if SND_SOC_RT5514=m
1087 default m if SND_SOC_RT5616=m
1088 default m if SND_SOC_RT5640=m
1089 default m if SND_SOC_RT5645=m
1090 default m if SND_SOC_RT5651=m
1091 default m if SND_SOC_RT5659=m
1092 default m if SND_SOC_RT5660=m
1093 default m if SND_SOC_RT5663=m
1094 default m if SND_SOC_RT5665=m
1095 default m if SND_SOC_RT5668=m
1096 default m if SND_SOC_RT5670=m
1097 default m if SND_SOC_RT5677=m
1098 default m if SND_SOC_RT5682=m
1099 default m if SND_SOC_RT1011=m
1100 default m if SND_SOC_RT1015=m
1101 default m if SND_SOC_RT1015P=m
1102 default m if SND_SOC_RT1019=m
1097 default m if SND_SOC_RT1305=m
1098 default m if SND_SOC_RT1308=m
1099
1100config SND_SOC_RL6347A
1101 tristate
1102 default y if SND_SOC_RT274=y
1103 default y if SND_SOC_RT286=y
1104 default y if SND_SOC_RT298=y

--- 20 unchanged lines hidden (view full) ---

1125config SND_SOC_RT1015
1126 tristate
1127 depends on I2C
1128
1129config SND_SOC_RT1015P
1130 tristate
1131 depends on GPIOLIB
1132
1103 default m if SND_SOC_RT1305=m
1104 default m if SND_SOC_RT1308=m
1105
1106config SND_SOC_RL6347A
1107 tristate
1108 default y if SND_SOC_RT274=y
1109 default y if SND_SOC_RT286=y
1110 default y if SND_SOC_RT298=y

--- 20 unchanged lines hidden (view full) ---

1131config SND_SOC_RT1015
1132 tristate
1133 depends on I2C
1134
1135config SND_SOC_RT1015P
1136 tristate
1137 depends on GPIOLIB
1138
1139config SND_SOC_RT1019
1140 tristate
1141 depends on I2C
1142
1133config SND_SOC_RT1305
1134 tristate
1135 depends on I2C
1136
1137config SND_SOC_RT1308
1138 tristate
1139 depends on I2C
1140
1141config SND_SOC_RT1308_SDW
1142 tristate "Realtek RT1308 Codec - SDW"
1143 depends on I2C && SOUNDWIRE
1144 select REGMAP_SOUNDWIRE
1145
1143config SND_SOC_RT1305
1144 tristate
1145 depends on I2C
1146
1147config SND_SOC_RT1308
1148 tristate
1149 depends on I2C
1150
1151config SND_SOC_RT1308_SDW
1152 tristate "Realtek RT1308 Codec - SDW"
1153 depends on I2C && SOUNDWIRE
1154 select REGMAP_SOUNDWIRE
1155
1156config SND_SOC_RT1316_SDW
1157 tristate "Realtek RT1316 Codec - SDW"
1158 depends on SOUNDWIRE
1159 select REGMAP_SOUNDWIRE
1160
1146config SND_SOC_RT5514
1147 tristate
1148 depends on I2C
1149
1150config SND_SOC_RT5514_SPI
1151 tristate
1152 depends on SPI_MASTER
1153

--- 82 unchanged lines hidden (view full) ---

1236 tristate
1237
1238config SND_SOC_RT711_SDW
1239 tristate "Realtek RT711 Codec - SDW"
1240 depends on SOUNDWIRE
1241 select SND_SOC_RT711
1242 select REGMAP_SOUNDWIRE
1243
1161config SND_SOC_RT5514
1162 tristate
1163 depends on I2C
1164
1165config SND_SOC_RT5514_SPI
1166 tristate
1167 depends on SPI_MASTER
1168

--- 82 unchanged lines hidden (view full) ---

1251 tristate
1252
1253config SND_SOC_RT711_SDW
1254 tristate "Realtek RT711 Codec - SDW"
1255 depends on SOUNDWIRE
1256 select SND_SOC_RT711
1257 select REGMAP_SOUNDWIRE
1258
1259config SND_SOC_RT711_SDCA_SDW
1260 tristate "Realtek RT711 SDCA Codec - SDW"
1261 depends on SOUNDWIRE
1262 select REGMAP_SOUNDWIRE
1263 select REGMAP_SOUNDWIRE_MBQ
1264
1244config SND_SOC_RT715
1245 tristate
1246
1247config SND_SOC_RT715_SDW
1248 tristate "Realtek RT715 Codec - SDW"
1249 depends on SOUNDWIRE
1250 select SND_SOC_RT715
1251 select REGMAP_SOUNDWIRE
1252
1265config SND_SOC_RT715
1266 tristate
1267
1268config SND_SOC_RT715_SDW
1269 tristate "Realtek RT715 Codec - SDW"
1270 depends on SOUNDWIRE
1271 select SND_SOC_RT715
1272 select REGMAP_SOUNDWIRE
1273
1274config SND_SOC_RT715_SDCA_SDW
1275 tristate "Realtek RT715 SDCA Codec - SDW"
1276 depends on SOUNDWIRE
1277 select REGMAP_SOUNDWIRE
1278 select REGMAP_SOUNDWIRE_MBQ
1279
1253#Freescale sgtl5000 codec
1254config SND_SOC_SGTL5000
1255 tristate "Freescale SGTL5000 CODEC"
1256 depends on I2C
1257
1258config SND_SOC_SI476X
1259 tristate
1260

--- 153 unchanged lines hidden (view full) ---

1414
1415config SND_SOC_TLV320AIC32X4_SPI
1416 tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
1417 depends on SPI_MASTER
1418 depends on COMMON_CLK
1419 select SND_SOC_TLV320AIC32X4
1420
1421config SND_SOC_TLV320AIC3X
1280#Freescale sgtl5000 codec
1281config SND_SOC_SGTL5000
1282 tristate "Freescale SGTL5000 CODEC"
1283 depends on I2C
1284
1285config SND_SOC_SI476X
1286 tristate
1287

--- 153 unchanged lines hidden (view full) ---

1441
1442config SND_SOC_TLV320AIC32X4_SPI
1443 tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
1444 depends on SPI_MASTER
1445 depends on COMMON_CLK
1446 select SND_SOC_TLV320AIC32X4
1447
1448config SND_SOC_TLV320AIC3X
1422 tristate "Texas Instruments TLV320AIC3x CODECs"
1449 tristate
1450
1451config SND_SOC_TLV320AIC3X_I2C
1452 tristate "Texas Instruments TLV320AIC3x audio CODECs - I2C"
1423 depends on I2C
1453 depends on I2C
1454 select SND_SOC_TLV320AIC3X
1455 select REGMAP_I2C
1424
1425config SND_SOC_TLV320DAC33
1426 tristate
1427 depends on I2C
1428
1429config SND_SOC_TLV320ADCX140
1430 tristate "Texas Instruments TLV320ADCX140 CODEC family"
1431 depends on I2C

--- 348 unchanged lines hidden (view full) ---

1780
1781config SND_SOC_MT6359
1782 tristate "MediaTek MT6359 Codec"
1783 depends on MTK_PMIC_WRAP
1784 help
1785 Enable support for the platform which uses MT6359 as
1786 external codec device.
1787
1456
1457config SND_SOC_TLV320DAC33
1458 tristate
1459 depends on I2C
1460
1461config SND_SOC_TLV320ADCX140
1462 tristate "Texas Instruments TLV320ADCX140 CODEC family"
1463 depends on I2C

--- 348 unchanged lines hidden (view full) ---

1812
1813config SND_SOC_MT6359
1814 tristate "MediaTek MT6359 Codec"
1815 depends on MTK_PMIC_WRAP
1816 help
1817 Enable support for the platform which uses MT6359 as
1818 external codec device.
1819
1820config SND_SOC_MT6359_ACCDET
1821 tristate "MediaTek MT6359 ACCDET driver"
1822 depends on MTK_PMIC_WRAP
1823 help
1824 ACCDET means Accessory Detection technology, MediaTek develop it
1825 for ASoC codec soc-jack detection mechanism.
1826 Select N if you don't have jack on board.
1827
1788config SND_SOC_MT6660
1789 tristate "Mediatek MT6660 Speaker Amplifier"
1790 depends on I2C
1791 help
1792 MediaTek MT6660 is a smart power amplifier which contain
1793 speaker protection, multi-band DRC, equalizer functions.
1794 Select N if you don't have MT6660 on board.
1795 Select M to build this as module.

--- 46 unchanged lines hidden ---
1828config SND_SOC_MT6660
1829 tristate "Mediatek MT6660 Speaker Amplifier"
1830 depends on I2C
1831 help
1832 MediaTek MT6660 is a smart power amplifier which contain
1833 speaker protection, multi-band DRC, equalizer functions.
1834 Select N if you don't have MT6660 on board.
1835 Select M to build this as module.

--- 46 unchanged lines hidden ---