Kconfig (2612e3bbc0386368a850140a6c9b990cd496a5ec) Kconfig (fc918cbe874eee0950b6425c1b30bcd4860dc076)
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

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

69 imply SND_SOC_CS35L41_I2C
70 imply SND_SOC_CS35L45_I2C
71 imply SND_SOC_CS35L45_SPI
72 imply SND_SOC_CS35L56_I2C
73 imply SND_SOC_CS35L56_SPI
74 imply SND_SOC_CS35L56_SDW
75 imply SND_SOC_CS42L42
76 imply SND_SOC_CS42L42_SDW
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

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

69 imply SND_SOC_CS35L41_I2C
70 imply SND_SOC_CS35L45_I2C
71 imply SND_SOC_CS35L45_SPI
72 imply SND_SOC_CS35L56_I2C
73 imply SND_SOC_CS35L56_SPI
74 imply SND_SOC_CS35L56_SDW
75 imply SND_SOC_CS42L42
76 imply SND_SOC_CS42L42_SDW
77 imply SND_SOC_CS42L43
78 imply SND_SOC_CS42L43_SDW
77 imply SND_SOC_CS42L51_I2C
78 imply SND_SOC_CS42L52
79 imply SND_SOC_CS42L56
80 imply SND_SOC_CS42L73
81 imply SND_SOC_CS4234
82 imply SND_SOC_CS4265
83 imply SND_SOC_CS4270
84 imply SND_SOC_CS4271_I2C

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

710 tristate "Cirrus Logic CS35L41 CODEC (I2C)"
711 depends on I2C
712 select SND_SOC_CS35L41_LIB
713 select SND_SOC_CS35L41
714 select REGMAP_I2C
715
716config SND_SOC_CS35L45
717 tristate
79 imply SND_SOC_CS42L51_I2C
80 imply SND_SOC_CS42L52
81 imply SND_SOC_CS42L56
82 imply SND_SOC_CS42L73
83 imply SND_SOC_CS4234
84 imply SND_SOC_CS4265
85 imply SND_SOC_CS4270
86 imply SND_SOC_CS4271_I2C

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

712 tristate "Cirrus Logic CS35L41 CODEC (I2C)"
713 depends on I2C
714 select SND_SOC_CS35L41_LIB
715 select SND_SOC_CS35L41
716 select REGMAP_I2C
717
718config SND_SOC_CS35L45
719 tristate
720 select REGMAP_IRQ
718
719config SND_SOC_CS35L45_SPI
720 tristate "Cirrus Logic CS35L45 CODEC (SPI)"
721 depends on SPI_MASTER
722 select REGMAP
723 select REGMAP_SPI
724 select SND_SOC_CS35L45
725 help

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

783
784config SND_SOC_CS42L42_SDW
785 tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
786 depends on SOUNDWIRE
787 select SND_SOC_CS42L42_CORE
788 help
789 Enable support for Cirrus Logic CS42L42 codec with Soundwire control
790
721
722config SND_SOC_CS35L45_SPI
723 tristate "Cirrus Logic CS35L45 CODEC (SPI)"
724 depends on SPI_MASTER
725 select REGMAP
726 select REGMAP_SPI
727 select SND_SOC_CS35L45
728 help

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

786
787config SND_SOC_CS42L42_SDW
788 tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
789 depends on SOUNDWIRE
790 select SND_SOC_CS42L42_CORE
791 help
792 Enable support for Cirrus Logic CS42L42 codec with Soundwire control
793
794config SND_SOC_CS42L43
795 tristate "Cirrus Logic CS42L43 CODEC"
796 depends on MFD_CS42L43
797 help
798 Select this to support the audio functions of the Cirrus Logic
799 CS42L43 PC CODEC.
800
801config SND_SOC_CS42L43_SDW
802 tristate "Cirrus Logic CS42L43 CODEC (SoundWire)"
803 depends on SND_SOC_CS42L43 && MFD_CS42L43_SDW
804 help
805 Select this to support the audio functions of the Cirrus Logic
806 CS42L43 PC CODEC over SoundWire.
807
791config SND_SOC_CS42L51
792 tristate
793
794config SND_SOC_CS42L51_I2C
795 tristate "Cirrus Logic CS42L51 CODEC (I2C)"
796 depends on I2C
797 select SND_SOC_CS42L51
798

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

1937
1938config SND_SOC_WCD_MBHC
1939 tristate
1940
1941config SND_SOC_WCD934X
1942 tristate "WCD9340/WCD9341 Codec"
1943 depends on COMMON_CLK
1944 depends on SLIMBUS
808config SND_SOC_CS42L51
809 tristate
810
811config SND_SOC_CS42L51_I2C
812 tristate "Cirrus Logic CS42L51 CODEC (I2C)"
813 depends on I2C
814 select SND_SOC_CS42L51
815

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

1954
1955config SND_SOC_WCD_MBHC
1956 tristate
1957
1958config SND_SOC_WCD934X
1959 tristate "WCD9340/WCD9341 Codec"
1960 depends on COMMON_CLK
1961 depends on SLIMBUS
1962 select REGMAP_IRQ
1945 select REGMAP_SLIMBUS
1946 select SND_SOC_WCD_MBHC
1947 depends on MFD_WCD934X || COMPILE_TEST
1948 help
1949 The WCD9340/9341 is a audio codec IC Integrated in
1950 Qualcomm SoCs like SDM845.
1951
1952config SND_SOC_WCD938X

--- 405 unchanged lines hidden ---
1963 select REGMAP_SLIMBUS
1964 select SND_SOC_WCD_MBHC
1965 depends on MFD_WCD934X || COMPILE_TEST
1966 help
1967 The WCD9340/9341 is a audio codec IC Integrated in
1968 Qualcomm SoCs like SDM845.
1969
1970config SND_SOC_WCD938X

--- 405 unchanged lines hidden ---