Kconfig (e6a2b5c0b7ebd28bc44117cf27b5308a288c7925) Kconfig (95a9049b5854d21420a782a41e3f79619655c2bc)
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

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

66 select SND_SOC_CS4271_I2C if I2C
67 select SND_SOC_CS4271_SPI if SPI_MASTER
68 select SND_SOC_CS42XX8_I2C if I2C
69 select SND_SOC_CS43130 if I2C
70 select SND_SOC_CS4341 if SND_SOC_I2C_AND_SPI
71 select SND_SOC_CS4349 if I2C
72 select SND_SOC_CS47L24 if MFD_CS47L24
73 select SND_SOC_CS47L35 if MFD_CS47L35
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

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

66 select SND_SOC_CS4271_I2C if I2C
67 select SND_SOC_CS4271_SPI if SPI_MASTER
68 select SND_SOC_CS42XX8_I2C if I2C
69 select SND_SOC_CS43130 if I2C
70 select SND_SOC_CS4341 if SND_SOC_I2C_AND_SPI
71 select SND_SOC_CS4349 if I2C
72 select SND_SOC_CS47L24 if MFD_CS47L24
73 select SND_SOC_CS47L35 if MFD_CS47L35
74 select SND_SOC_CS47L85 if MFD_CS47L85
74 select SND_SOC_CS53L30 if I2C
75 select SND_SOC_CX20442 if TTY
76 select SND_SOC_CX2072X if I2C
77 select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
78 select SND_SOC_DA7213 if I2C
79 select SND_SOC_DA7218 if I2C
80 select SND_SOC_DA7219 if I2C
81 select SND_SOC_DA732X if I2C

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

578 depends on I2C
579
580config SND_SOC_CS47L24
581 tristate
582
583config SND_SOC_CS47L35
584 tristate
585
75 select SND_SOC_CS53L30 if I2C
76 select SND_SOC_CX20442 if TTY
77 select SND_SOC_CX2072X if I2C
78 select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
79 select SND_SOC_DA7213 if I2C
80 select SND_SOC_DA7218 if I2C
81 select SND_SOC_DA7219 if I2C
82 select SND_SOC_DA732X if I2C

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

579 depends on I2C
580
581config SND_SOC_CS47L24
582 tristate
583
584config SND_SOC_CS47L35
585 tristate
586
587config SND_SOC_CS47L85
588 tristate
589
586# Cirrus Logic Quad-Channel ADC
587config SND_SOC_CS53L30
588 tristate "Cirrus Logic CS53L30 CODEC"
589 depends on I2C
590
591config SND_SOC_CX20442
592 tristate
593 depends on TTY

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

708 depends on MFD_LOCHNAGAR
709 help
710 This driver support the sound card functionality of the Cirrus
711 Logic Lochnagar audio development board.
712
713config SND_SOC_MADERA
714 tristate
715 default y if SND_SOC_CS47L35=y
590# Cirrus Logic Quad-Channel ADC
591config SND_SOC_CS53L30
592 tristate "Cirrus Logic CS53L30 CODEC"
593 depends on I2C
594
595config SND_SOC_CX20442
596 tristate
597 depends on TTY

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

712 depends on MFD_LOCHNAGAR
713 help
714 This driver support the sound card functionality of the Cirrus
715 Logic Lochnagar audio development board.
716
717config SND_SOC_MADERA
718 tristate
719 default y if SND_SOC_CS47L35=y
720 default y if SND_SOC_CS47L85=y
716 default m if SND_SOC_CS47L35=m
721 default m if SND_SOC_CS47L35=m
722 default m if SND_SOC_CS47L85=m
717
718config SND_SOC_MAX98088
719 tristate "Maxim MAX98088/9 Low-Power, Stereo Audio Codec"
720 depends on I2C
721
722config SND_SOC_MAX98090
723 tristate
724

--- 727 unchanged lines hidden ---
723
724config SND_SOC_MAX98088
725 tristate "Maxim MAX98088/9 Low-Power, Stereo Audio Codec"
726 depends on I2C
727
728config SND_SOC_MAX98090
729 tristate
730

--- 727 unchanged lines hidden ---