Kconfig (1b347b6891335a30131899dd16ec6ca843c578f0) Kconfig (70e3e56e6c3d499be47322037ed4a42314a8e509)
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

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

82 select SND_SOC_MAX98925 if I2C
83 select SND_SOC_MAX9850 if I2C
84 select SND_SOC_MAX9768 if I2C
85 select SND_SOC_MAX9877 if I2C
86 select SND_SOC_MC13783 if MFD_MC13XXX
87 select SND_SOC_ML26124 if I2C
88 select SND_SOC_NAU8825 if I2C
89 select SND_SOC_PCM1681 if I2C
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

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

82 select SND_SOC_MAX98925 if I2C
83 select SND_SOC_MAX9850 if I2C
84 select SND_SOC_MAX9768 if I2C
85 select SND_SOC_MAX9877 if I2C
86 select SND_SOC_MC13783 if MFD_MC13XXX
87 select SND_SOC_ML26124 if I2C
88 select SND_SOC_NAU8825 if I2C
89 select SND_SOC_PCM1681 if I2C
90 select SND_SOC_PCM179X_I2C if I2C
90 select SND_SOC_PCM179X_SPI if SPI_MASTER
91 select SND_SOC_PCM3008
92 select SND_SOC_PCM3168A_I2C if I2C
93 select SND_SOC_PCM3168A_SPI if SPI_MASTER
94 select SND_SOC_PCM512x_I2C if I2C
95 select SND_SOC_PCM512x_SPI if SPI_MASTER
96 select SND_SOC_RT286 if I2C
97 select SND_SOC_RT298 if I2C

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

524
525config SND_SOC_PCM1681
526 tristate "Texas Instruments PCM1681 CODEC"
527 depends on I2C
528
529config SND_SOC_PCM179X
530 tristate
531
91 select SND_SOC_PCM179X_SPI if SPI_MASTER
92 select SND_SOC_PCM3008
93 select SND_SOC_PCM3168A_I2C if I2C
94 select SND_SOC_PCM3168A_SPI if SPI_MASTER
95 select SND_SOC_PCM512x_I2C if I2C
96 select SND_SOC_PCM512x_SPI if SPI_MASTER
97 select SND_SOC_RT286 if I2C
98 select SND_SOC_RT298 if I2C

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

525
526config SND_SOC_PCM1681
527 tristate "Texas Instruments PCM1681 CODEC"
528 depends on I2C
529
530config SND_SOC_PCM179X
531 tristate
532
533config SND_SOC_PCM179X_I2C
534 tristate "Texas Instruments PCM179X CODEC (I2C)"
535 depends on I2C
536 select SND_SOC_PCM179X
537 help
538 Enable support for Texas Instruments PCM179x CODEC.
539 Select this if your PCM179x is connected via an I2C bus.
540
532config SND_SOC_PCM179X_SPI
533 tristate "Texas Instruments PCM179X CODEC (SPI)"
534 depends on SPI_MASTER
535 select SND_SOC_PCM179X
536 help
537 Enable support for Texas Instruments PCM179x CODEC.
538 Select this if your PCM179x is connected via an SPI bus.
539

--- 440 unchanged lines hidden ---
541config SND_SOC_PCM179X_SPI
542 tristate "Texas Instruments PCM179X CODEC (SPI)"
543 depends on SPI_MASTER
544 select SND_SOC_PCM179X
545 help
546 Enable support for Texas Instruments PCM179x CODEC.
547 Select this if your PCM179x is connected via an SPI bus.
548

--- 440 unchanged lines hidden ---