Kconfig (5544717d416d9a095edc616be789bdab69e284dc) Kconfig (0ddce71c21f03fd19867c4939d3ca710f37cdf1a)
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

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

136 select SND_SOC_RT5651 if I2C
137 select SND_SOC_RT5659 if I2C
138 select SND_SOC_RT5660 if I2C
139 select SND_SOC_RT5663 if I2C
140 select SND_SOC_RT5665 if I2C
141 select SND_SOC_RT5668 if I2C
142 select SND_SOC_RT5670 if I2C
143 select SND_SOC_RT5677 if I2C && SPI_MASTER
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

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

136 select SND_SOC_RT5651 if I2C
137 select SND_SOC_RT5659 if I2C
138 select SND_SOC_RT5660 if I2C
139 select SND_SOC_RT5663 if I2C
140 select SND_SOC_RT5665 if I2C
141 select SND_SOC_RT5668 if I2C
142 select SND_SOC_RT5670 if I2C
143 select SND_SOC_RT5677 if I2C && SPI_MASTER
144 select SND_SOC_RT5682 if I2C
144 select SND_SOC_SGTL5000 if I2C
145 select SND_SOC_SI476X if MFD_SI476X_CORE
146 select SND_SOC_SIRF_AUDIO_CODEC
147 select SND_SOC_SPDIF
148 select SND_SOC_SSM2305
149 select SND_SOC_SSM2518 if I2C
150 select SND_SOC_SSM2602_SPI if SPI_MASTER
151 select SND_SOC_SSM2602_I2C if I2C

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

773 default y if SND_SOC_RT5651=y
774 default y if SND_SOC_RT5659=y
775 default y if SND_SOC_RT5660=y
776 default y if SND_SOC_RT5663=y
777 default y if SND_SOC_RT5665=y
778 default y if SND_SOC_RT5668=y
779 default y if SND_SOC_RT5670=y
780 default y if SND_SOC_RT5677=y
145 select SND_SOC_SGTL5000 if I2C
146 select SND_SOC_SI476X if MFD_SI476X_CORE
147 select SND_SOC_SIRF_AUDIO_CODEC
148 select SND_SOC_SPDIF
149 select SND_SOC_SSM2305
150 select SND_SOC_SSM2518 if I2C
151 select SND_SOC_SSM2602_SPI if SPI_MASTER
152 select SND_SOC_SSM2602_I2C if I2C

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

774 default y if SND_SOC_RT5651=y
775 default y if SND_SOC_RT5659=y
776 default y if SND_SOC_RT5660=y
777 default y if SND_SOC_RT5663=y
778 default y if SND_SOC_RT5665=y
779 default y if SND_SOC_RT5668=y
780 default y if SND_SOC_RT5670=y
781 default y if SND_SOC_RT5677=y
782 default y if SND_SOC_RT5682=y
781 default y if SND_SOC_RT1305=y
782 default m if SND_SOC_RT5514=m
783 default m if SND_SOC_RT5616=m
784 default m if SND_SOC_RT5640=m
785 default m if SND_SOC_RT5645=m
786 default m if SND_SOC_RT5651=m
787 default m if SND_SOC_RT5659=m
788 default m if SND_SOC_RT5660=m
789 default m if SND_SOC_RT5663=m
790 default m if SND_SOC_RT5665=m
791 default m if SND_SOC_RT5668=m
792 default m if SND_SOC_RT5670=m
793 default m if SND_SOC_RT5677=m
783 default y if SND_SOC_RT1305=y
784 default m if SND_SOC_RT5514=m
785 default m if SND_SOC_RT5616=m
786 default m if SND_SOC_RT5640=m
787 default m if SND_SOC_RT5645=m
788 default m if SND_SOC_RT5651=m
789 default m if SND_SOC_RT5659=m
790 default m if SND_SOC_RT5660=m
791 default m if SND_SOC_RT5663=m
792 default m if SND_SOC_RT5665=m
793 default m if SND_SOC_RT5668=m
794 default m if SND_SOC_RT5670=m
795 default m if SND_SOC_RT5677=m
796 default m if SND_SOC_RT5682=m
794 default m if SND_SOC_RT1305=m
795
796config SND_SOC_RL6347A
797 tristate
798 default y if SND_SOC_RT274=y
799 default y if SND_SOC_RT286=y
800 default y if SND_SOC_RT298=y
801 default m if SND_SOC_RT274=m

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

866 tristate
867 select REGMAP_I2C
868 select REGMAP_IRQ
869
870config SND_SOC_RT5677_SPI
871 tristate
872 default SND_SOC_RT5677 && SPI
873
797 default m if SND_SOC_RT1305=m
798
799config SND_SOC_RL6347A
800 tristate
801 default y if SND_SOC_RT274=y
802 default y if SND_SOC_RT286=y
803 default y if SND_SOC_RT298=y
804 default m if SND_SOC_RT274=m

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

869 tristate
870 select REGMAP_I2C
871 select REGMAP_IRQ
872
873config SND_SOC_RT5677_SPI
874 tristate
875 default SND_SOC_RT5677 && SPI
876
877config SND_SOC_RT5682
878 tristate
879
874#Freescale sgtl5000 codec
875config SND_SOC_SGTL5000
876 tristate "Freescale SGTL5000 CODEC"
877 depends on I2C
878
879config SND_SOC_SI476X
880 tristate
881

--- 419 unchanged lines hidden ---
880#Freescale sgtl5000 codec
881config SND_SOC_SGTL5000
882 tristate "Freescale SGTL5000 CODEC"
883 depends on I2C
884
885config SND_SOC_SI476X
886 tristate
887

--- 419 unchanged lines hidden ---