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

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

80 select SND_SOC_MAX9768 if I2C
81 select SND_SOC_MAX9877 if I2C
82 select SND_SOC_MC13783 if MFD_MC13XXX
83 select SND_SOC_ML26124 if I2C
84 select SND_SOC_NAU8825 if I2C
85 select SND_SOC_PCM1681 if I2C
86 select SND_SOC_PCM1792A if SPI_MASTER
87 select SND_SOC_PCM3008
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y

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

80 select SND_SOC_MAX9768 if I2C
81 select SND_SOC_MAX9877 if I2C
82 select SND_SOC_MC13783 if MFD_MC13XXX
83 select SND_SOC_ML26124 if I2C
84 select SND_SOC_NAU8825 if I2C
85 select SND_SOC_PCM1681 if I2C
86 select SND_SOC_PCM1792A if SPI_MASTER
87 select SND_SOC_PCM3008
88 select SND_SOC_PCM3168A_I2C if I2C
89 select SND_SOC_PCM3168A_SPI if SPI_MASTER
88 select SND_SOC_PCM512x_I2C if I2C
89 select SND_SOC_PCM512x_SPI if SPI_MASTER
90 select SND_SOC_RT286 if I2C
91 select SND_SOC_RT298 if I2C
92 select SND_SOC_RT5631 if I2C
93 select SND_SOC_RT5640 if I2C
94 select SND_SOC_RT5645 if I2C
95 select SND_SOC_RT5651 if I2C

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

501
502config SND_SOC_PCM1792A
503 tristate "Texas Instruments PCM1792A CODEC"
504 depends on SPI_MASTER
505
506config SND_SOC_PCM3008
507 tristate
508
90 select SND_SOC_PCM512x_I2C if I2C
91 select SND_SOC_PCM512x_SPI if SPI_MASTER
92 select SND_SOC_RT286 if I2C
93 select SND_SOC_RT298 if I2C
94 select SND_SOC_RT5631 if I2C
95 select SND_SOC_RT5640 if I2C
96 select SND_SOC_RT5645 if I2C
97 select SND_SOC_RT5651 if I2C

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

503
504config SND_SOC_PCM1792A
505 tristate "Texas Instruments PCM1792A CODEC"
506 depends on SPI_MASTER
507
508config SND_SOC_PCM3008
509 tristate
510
511config SND_SOC_PCM3168A
512 tristate
513
514config SND_SOC_PCM3168A_I2C
515 tristate "Texas Instruments PCM3168A CODEC - I2C"
516 depends on I2C
517 select SND_SOC_PCM3168A
518 select REGMAP_I2C
519
520config SND_SOC_PCM3168A_SPI
521 tristate "Texas Instruments PCM3168A CODEC - SPI"
522 depends on SPI_MASTER
523 select SND_SOC_PCM3168A
524 select REGMAP_SPI
525
509config SND_SOC_PCM512x
510 tristate
511
512config SND_SOC_PCM512x_I2C
513 tristate "Texas Instruments PCM512x CODECs - I2C"
514 depends on I2C
515 select SND_SOC_PCM512x
516 select REGMAP_I2C

--- 402 unchanged lines hidden ---
526config SND_SOC_PCM512x
527 tristate
528
529config SND_SOC_PCM512x_I2C
530 tristate "Texas Instruments PCM512x CODECs - I2C"
531 depends on I2C
532 select SND_SOC_PCM512x
533 select REGMAP_I2C

--- 402 unchanged lines hidden ---