Kconfig (cf5c5763eb531ff5120111ad300126e926fb5a56) Kconfig (0d463d016000d68d7e982720b5e4380b2d83409a)
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

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

60 imply SND_SOC_CROS_EC_CODEC
61 imply SND_SOC_CS35L32
62 imply SND_SOC_CS35L33
63 imply SND_SOC_CS35L34
64 imply SND_SOC_CS35L35
65 imply SND_SOC_CS35L36
66 imply SND_SOC_CS35L41_SPI
67 imply SND_SOC_CS35L41_I2C
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

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

60 imply SND_SOC_CROS_EC_CODEC
61 imply SND_SOC_CS35L32
62 imply SND_SOC_CS35L33
63 imply SND_SOC_CS35L34
64 imply SND_SOC_CS35L35
65 imply SND_SOC_CS35L36
66 imply SND_SOC_CS35L41_SPI
67 imply SND_SOC_CS35L41_I2C
68 imply SND_SOC_CS35L45_I2C
69 imply SND_SOC_CS35L45_SPI
68 imply SND_SOC_CS42L42
69 imply SND_SOC_CS42L51_I2C
70 imply SND_SOC_CS42L52
71 imply SND_SOC_CS42L56
72 imply SND_SOC_CS42L73
73 imply SND_SOC_CS4234
74 imply SND_SOC_CS4265
75 imply SND_SOC_CS4270

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

260 imply SND_SOC_WM8400
261 imply SND_SOC_WM8510
262 imply SND_SOC_WM8523
263 imply SND_SOC_WM8524
264 imply SND_SOC_WM8580
265 imply SND_SOC_WM8711
266 imply SND_SOC_WM8727
267 imply SND_SOC_WM8728
70 imply SND_SOC_CS42L42
71 imply SND_SOC_CS42L51_I2C
72 imply SND_SOC_CS42L52
73 imply SND_SOC_CS42L56
74 imply SND_SOC_CS42L73
75 imply SND_SOC_CS4234
76 imply SND_SOC_CS4265
77 imply SND_SOC_CS4270

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

262 imply SND_SOC_WM8400
263 imply SND_SOC_WM8510
264 imply SND_SOC_WM8523
265 imply SND_SOC_WM8524
266 imply SND_SOC_WM8580
267 imply SND_SOC_WM8711
268 imply SND_SOC_WM8727
269 imply SND_SOC_WM8728
268 imply SND_SOC_WM8731
270 imply SND_SOC_WM8731_I2C
271 imply SND_SOC_WM8731_SPI
269 imply SND_SOC_WM8737
270 imply SND_SOC_WM8741
271 imply SND_SOC_WM8750
272 imply SND_SOC_WM8753
273 imply SND_SOC_WM8770
274 imply SND_SOC_WM8776
275 imply SND_SOC_WM8782
276 imply SND_SOC_WM8804_I2C

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

650
651config SND_SOC_CS35L41_I2C
652 tristate "Cirrus Logic CS35L41 CODEC (I2C)"
653 depends on I2C
654 select SND_SOC_CS35L41_LIB
655 select SND_SOC_CS35L41
656 select REGMAP_I2C
657
272 imply SND_SOC_WM8737
273 imply SND_SOC_WM8741
274 imply SND_SOC_WM8750
275 imply SND_SOC_WM8753
276 imply SND_SOC_WM8770
277 imply SND_SOC_WM8776
278 imply SND_SOC_WM8782
279 imply SND_SOC_WM8804_I2C

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

653
654config SND_SOC_CS35L41_I2C
655 tristate "Cirrus Logic CS35L41 CODEC (I2C)"
656 depends on I2C
657 select SND_SOC_CS35L41_LIB
658 select SND_SOC_CS35L41
659 select REGMAP_I2C
660
661config SND_SOC_CS35L45_TABLES
662 tristate
663
664config SND_SOC_CS35L45
665 tristate
666
667config SND_SOC_CS35L45_SPI
668 tristate "Cirrus Logic CS35L45 CODEC (SPI)"
669 depends on SPI_MASTER
670 select REGMAP
671 select REGMAP_SPI
672 select SND_SOC_CS35L45_TABLES
673 select SND_SOC_CS35L45
674 help
675 Enable support for Cirrus Logic CS35L45 smart speaker amplifier
676 with SPI control.
677
678config SND_SOC_CS35L45_I2C
679 tristate "Cirrus Logic CS35L45 CODEC (I2C)"
680 depends on I2C
681 select REGMAP
682 select REGMAP_I2C
683 select SND_SOC_CS35L45_TABLES
684 select SND_SOC_CS35L45
685 help
686 Enable support for Cirrus Logic CS35L45 smart speaker amplifier
687 with I2C control.
688
658config SND_SOC_CS42L42
659 tristate "Cirrus Logic CS42L42 CODEC"
660 depends on I2C
661
662config SND_SOC_CS42L51
663 tristate
664
665config SND_SOC_CS42L51_I2C

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

1748config SND_SOC_WM8727
1749 tristate
1750
1751config SND_SOC_WM8728
1752 tristate "Wolfson Microelectronics WM8728 DAC"
1753 depends on SND_SOC_I2C_AND_SPI
1754
1755config SND_SOC_WM8731
689config SND_SOC_CS42L42
690 tristate "Cirrus Logic CS42L42 CODEC"
691 depends on I2C
692
693config SND_SOC_CS42L51
694 tristate
695
696config SND_SOC_CS42L51_I2C

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

1779config SND_SOC_WM8727
1780 tristate
1781
1782config SND_SOC_WM8728
1783 tristate "Wolfson Microelectronics WM8728 DAC"
1784 depends on SND_SOC_I2C_AND_SPI
1785
1786config SND_SOC_WM8731
1756 tristate "Wolfson Microelectronics WM8731 CODEC"
1757 depends on SND_SOC_I2C_AND_SPI
1787 tristate
1758
1788
1789config SND_SOC_WM8731_I2C
1790 tristate "Wolfson Microelectronics WM8731 CODEC with I2C"
1791 depends on I2C
1792 select REGMAP
1793 select SND_SOC_WM8731
1794
1795config SND_SOC_WM8731_SPI
1796 tristate "Wolfson Microelectronics WM8731 CODEC with SPI"
1797 depends on SPI
1798 select REGMAP
1799 select SND_SOC_WM8731
1800
1759config SND_SOC_WM8737
1760 tristate "Wolfson Microelectronics WM8737 ADC"
1761 depends on SND_SOC_I2C_AND_SPI
1762
1763config SND_SOC_WM8741
1764 tristate "Wolfson Microelectronics WM8741 DAC"
1765 depends on SND_SOC_I2C_AND_SPI
1766

--- 282 unchanged lines hidden ---
1801config SND_SOC_WM8737
1802 tristate "Wolfson Microelectronics WM8737 ADC"
1803 depends on SND_SOC_I2C_AND_SPI
1804
1805config SND_SOC_WM8741
1806 tristate "Wolfson Microelectronics WM8741 DAC"
1807 depends on SND_SOC_I2C_AND_SPI
1808

--- 282 unchanged lines hidden ---