Kconfig (d585a021c0b10b0477d6b608c53e1feb8cde0507) | Kconfig (86ed3669f068b514ab85ffd548456a342b3fb8d3) |
---|---|
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 --- 21 unchanged lines hidden (view full) --- 30 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI 31 select SND_SOC_WM8580 if I2C 32 select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI 33 select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI 34 select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI 35 select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI 36 select SND_SOC_WM8900 if I2C 37 select SND_SOC_WM8903 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 --- 21 unchanged lines hidden (view full) --- 30 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI 31 select SND_SOC_WM8580 if I2C 32 select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI 33 select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI 34 select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI 35 select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI 36 select SND_SOC_WM8900 if I2C 37 select SND_SOC_WM8903 if I2C |
38 select SND_SOC_WM8940 if I2C 39 select SND_SOC_WM8960 if I2C |
|
38 select SND_SOC_WM8971 if I2C | 40 select SND_SOC_WM8971 if I2C |
41 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI |
|
39 select SND_SOC_WM8990 if I2C | 42 select SND_SOC_WM8990 if I2C |
43 select SND_SOC_WM9081 if I2C |
|
40 select SND_SOC_WM9705 if SND_SOC_AC97_BUS 41 select SND_SOC_WM9712 if SND_SOC_AC97_BUS 42 select SND_SOC_WM9713 if SND_SOC_AC97_BUS 43 help 44 Normally ASoC codec drivers are only built if a machine driver which 45 uses them is also built since they are only usable with a machine 46 driver. Selecting this option will allow these drivers to be built 47 without an explicit machine driver for test and development purposes. --- 85 unchanged lines hidden (view full) --- 133 tristate 134 135config SND_SOC_WM8900 136 tristate 137 138config SND_SOC_WM8903 139 tristate 140 | 44 select SND_SOC_WM9705 if SND_SOC_AC97_BUS 45 select SND_SOC_WM9712 if SND_SOC_AC97_BUS 46 select SND_SOC_WM9713 if SND_SOC_AC97_BUS 47 help 48 Normally ASoC codec drivers are only built if a machine driver which 49 uses them is also built since they are only usable with a machine 50 driver. Selecting this option will allow these drivers to be built 51 without an explicit machine driver for test and development purposes. --- 85 unchanged lines hidden (view full) --- 137 tristate 138 139config SND_SOC_WM8900 140 tristate 141 142config SND_SOC_WM8903 143 tristate 144 |
145config SND_SOC_WM8940 146 tristate 147 148config SND_SOC_WM8960 149 tristate 150 |
|
141config SND_SOC_WM8971 142 tristate 143 | 151config SND_SOC_WM8971 152 tristate 153 |
154config SND_SOC_WM8988 155 tristate 156 |
|
144config SND_SOC_WM8990 145 tristate 146 | 157config SND_SOC_WM8990 158 tristate 159 |
160config SND_SOC_WM9081 161 tristate 162 |
|
147config SND_SOC_WM9705 148 tristate 149 150config SND_SOC_WM9712 151 tristate 152 153config SND_SOC_WM9713 154 tristate | 163config SND_SOC_WM9705 164 tristate 165 166config SND_SOC_WM9712 167 tristate 168 169config SND_SOC_WM9713 170 tristate |