Kconfig (e496112529006ce0c2cfe67d1136186e2786d2e8) | Kconfig (74b14e2850a34740c121cf2758d4181063d4c77c) |
---|---|
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 --- 54 unchanged lines hidden (view full) --- 63 imply SND_SOC_CS35L33 64 imply SND_SOC_CS35L34 65 imply SND_SOC_CS35L35 66 imply SND_SOC_CS35L36 67 imply SND_SOC_CS35L41_SPI 68 imply SND_SOC_CS35L41_I2C 69 imply SND_SOC_CS35L45_I2C 70 imply SND_SOC_CS35L45_SPI | 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 --- 54 unchanged lines hidden (view full) --- 63 imply SND_SOC_CS35L33 64 imply SND_SOC_CS35L34 65 imply SND_SOC_CS35L35 66 imply SND_SOC_CS35L36 67 imply SND_SOC_CS35L41_SPI 68 imply SND_SOC_CS35L41_I2C 69 imply SND_SOC_CS35L45_I2C 70 imply SND_SOC_CS35L45_SPI |
71 imply SND_SOC_CS35L56_I2C 72 imply SND_SOC_CS35L56_SPI 73 imply SND_SOC_CS35L56_SDW | |
74 imply SND_SOC_CS42L42 75 imply SND_SOC_CS42L42_SDW 76 imply SND_SOC_CS42L51_I2C 77 imply SND_SOC_CS42L52 78 imply SND_SOC_CS42L56 79 imply SND_SOC_CS42L73 80 imply SND_SOC_CS4234 81 imply SND_SOC_CS4265 --- 280 unchanged lines hidden (view full) --- 362 select SND_SOC_COMPRESS 363 default y if SND_SOC_MADERA=y 364 default y if SND_SOC_CS47L24=y 365 default y if SND_SOC_WM5102=y 366 default y if SND_SOC_WM5110=y 367 default y if SND_SOC_WM2200=y 368 default y if SND_SOC_CS35L41_SPI=y 369 default y if SND_SOC_CS35L41_I2C=y | 71 imply SND_SOC_CS42L42 72 imply SND_SOC_CS42L42_SDW 73 imply SND_SOC_CS42L51_I2C 74 imply SND_SOC_CS42L52 75 imply SND_SOC_CS42L56 76 imply SND_SOC_CS42L73 77 imply SND_SOC_CS4234 78 imply SND_SOC_CS4265 --- 280 unchanged lines hidden (view full) --- 359 select SND_SOC_COMPRESS 360 default y if SND_SOC_MADERA=y 361 default y if SND_SOC_CS47L24=y 362 default y if SND_SOC_WM5102=y 363 default y if SND_SOC_WM5110=y 364 default y if SND_SOC_WM2200=y 365 default y if SND_SOC_CS35L41_SPI=y 366 default y if SND_SOC_CS35L41_I2C=y |
370 default y if SND_SOC_CS35L56=y | 367 default y if SND_SOC_CS35L45_SPI=y 368 default y if SND_SOC_CS35L45_I2C=y |
371 default m if SND_SOC_MADERA=m 372 default m if SND_SOC_CS47L24=m 373 default m if SND_SOC_WM5102=m 374 default m if SND_SOC_WM5110=m 375 default m if SND_SOC_WM2200=m 376 default m if SND_SOC_CS35L41_SPI=m 377 default m if SND_SOC_CS35L41_I2C=m | 369 default m if SND_SOC_MADERA=m 370 default m if SND_SOC_CS47L24=m 371 default m if SND_SOC_WM5102=m 372 default m if SND_SOC_WM5110=m 373 default m if SND_SOC_WM2200=m 374 default m if SND_SOC_CS35L41_SPI=m 375 default m if SND_SOC_CS35L41_I2C=m |
378 default m if SND_SOC_CS35L56=m | 376 default m if SND_SOC_CS35L45_SPI=m 377 default m if SND_SOC_CS35L45_I2C=m |
379 380config SND_SOC_AB8500_CODEC 381 tristate 382 depends on ABX500_CORE 383 384config SND_SOC_AC97_CODEC 385 tristate "Build generic ASoC AC97 CODEC driver" 386 select SND_AC97_CODEC --- 324 unchanged lines hidden (view full) --- 711 depends on I2C 712 select REGMAP 713 select REGMAP_I2C 714 select SND_SOC_CS35L45 715 help 716 Enable support for Cirrus Logic CS35L45 smart speaker amplifier 717 with I2C control. 718 | 378 379config SND_SOC_AB8500_CODEC 380 tristate 381 depends on ABX500_CORE 382 383config SND_SOC_AC97_CODEC 384 tristate "Build generic ASoC AC97 CODEC driver" 385 select SND_AC97_CODEC --- 324 unchanged lines hidden (view full) --- 710 depends on I2C 711 select REGMAP 712 select REGMAP_I2C 713 select SND_SOC_CS35L45 714 help 715 Enable support for Cirrus Logic CS35L45 smart speaker amplifier 716 with I2C control. 717 |
719config SND_SOC_CS35L56 720 tristate 721 722config SND_SOC_CS35L56_SHARED 723 tristate 724 725config SND_SOC_CS35L56_I2C 726 tristate "Cirrus Logic CS35L56 CODEC (I2C)" 727 depends on I2C 728 depends on SOUNDWIRE || !SOUNDWIRE 729 select REGMAP_I2C 730 select SND_SOC_CS35L56 731 select SND_SOC_CS35L56_SHARED 732 help 733 Enable support for Cirrus Logic CS35L56 boosted amplifier with I2C control 734 735config SND_SOC_CS35L56_SPI 736 tristate "Cirrus Logic CS35L56 CODEC (SPI)" 737 depends on SPI_MASTER 738 depends on SOUNDWIRE || !SOUNDWIRE 739 select REGMAP_SPI 740 select SND_SOC_CS35L56 741 select SND_SOC_CS35L56_SHARED 742 help 743 Enable support for Cirrus Logic CS35L56 boosted amplifier with SPI control 744 745config SND_SOC_CS35L56_SDW 746 tristate "Cirrus Logic CS35L56 CODEC (SDW)" 747 depends on SOUNDWIRE 748 select REGMAP 749 select SND_SOC_CS35L56 750 select SND_SOC_CS35L56_SHARED 751 help 752 Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control 753 | |
754config SND_SOC_CS42L42_CORE 755 tristate 756 757config SND_SOC_CS42L42 758 tristate "Cirrus Logic CS42L42 CODEC (I2C)" 759 depends on I2C 760 select REGMAP 761 select REGMAP_I2C --- 1507 unchanged lines hidden --- | 718config SND_SOC_CS42L42_CORE 719 tristate 720 721config SND_SOC_CS42L42 722 tristate "Cirrus Logic CS42L42 CODEC (I2C)" 723 depends on I2C 724 select REGMAP 725 select REGMAP_I2C --- 1507 unchanged lines hidden --- |