Kconfig (700dadfefc3df1f63dfbae7cb42fda147f4c074c) | Kconfig (d3cb2de2479bbbde29391393d68f2e313e1f0504) |
---|---|
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 --- 79 unchanged lines hidden (view full) --- 88 select SND_SOC_PCM512x_I2C if I2C 89 select SND_SOC_PCM512x_SPI if SPI_MASTER 90 select SND_SOC_RT286 if I2C 91 select SND_SOC_RT298 if I2C 92 select SND_SOC_RT5631 if I2C 93 select SND_SOC_RT5640 if I2C 94 select SND_SOC_RT5645 if I2C 95 select SND_SOC_RT5651 if I2C | 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 --- 79 unchanged lines hidden (view full) --- 88 select SND_SOC_PCM512x_I2C if I2C 89 select SND_SOC_PCM512x_SPI if SPI_MASTER 90 select SND_SOC_RT286 if I2C 91 select SND_SOC_RT298 if I2C 92 select SND_SOC_RT5631 if I2C 93 select SND_SOC_RT5640 if I2C 94 select SND_SOC_RT5645 if I2C 95 select SND_SOC_RT5651 if I2C |
96 select SND_SOC_RT5659 if I2C |
|
96 select SND_SOC_RT5670 if I2C 97 select SND_SOC_RT5677 if I2C && SPI_MASTER 98 select SND_SOC_SGTL5000 if I2C 99 select SND_SOC_SI476X if MFD_SI476X_CORE 100 select SND_SOC_SIRF_AUDIO_CODEC 101 select SND_SOC_SN95031 if INTEL_SCU_IPC 102 select SND_SOC_SPDIF 103 select SND_SOC_SSM2518 if I2C --- 417 unchanged lines hidden (view full) --- 521 select SND_SOC_PCM512x 522 select REGMAP_SPI 523 524config SND_SOC_RL6231 525 tristate 526 default y if SND_SOC_RT5640=y 527 default y if SND_SOC_RT5645=y 528 default y if SND_SOC_RT5651=y | 97 select SND_SOC_RT5670 if I2C 98 select SND_SOC_RT5677 if I2C && SPI_MASTER 99 select SND_SOC_SGTL5000 if I2C 100 select SND_SOC_SI476X if MFD_SI476X_CORE 101 select SND_SOC_SIRF_AUDIO_CODEC 102 select SND_SOC_SN95031 if INTEL_SCU_IPC 103 select SND_SOC_SPDIF 104 select SND_SOC_SSM2518 if I2C --- 417 unchanged lines hidden (view full) --- 522 select SND_SOC_PCM512x 523 select REGMAP_SPI 524 525config SND_SOC_RL6231 526 tristate 527 default y if SND_SOC_RT5640=y 528 default y if SND_SOC_RT5645=y 529 default y if SND_SOC_RT5651=y |
530 default y if SND_SOC_RT5659=y |
|
529 default y if SND_SOC_RT5670=y 530 default y if SND_SOC_RT5677=y 531 default m if SND_SOC_RT5640=m 532 default m if SND_SOC_RT5645=m 533 default m if SND_SOC_RT5651=m | 531 default y if SND_SOC_RT5670=y 532 default y if SND_SOC_RT5677=y 533 default m if SND_SOC_RT5640=m 534 default m if SND_SOC_RT5645=m 535 default m if SND_SOC_RT5651=m |
536 default m if SND_SOC_RT5659=m |
|
534 default m if SND_SOC_RT5670=m 535 default m if SND_SOC_RT5677=m 536 537config SND_SOC_RL6347A 538 tristate 539 default y if SND_SOC_RT286=y 540 default y if SND_SOC_RT298=y 541 default m if SND_SOC_RT286=m --- 15 unchanged lines hidden (view full) --- 557 tristate 558 559config SND_SOC_RT5645 560 tristate 561 562config SND_SOC_RT5651 563 tristate 564 | 537 default m if SND_SOC_RT5670=m 538 default m if SND_SOC_RT5677=m 539 540config SND_SOC_RL6347A 541 tristate 542 default y if SND_SOC_RT286=y 543 default y if SND_SOC_RT298=y 544 default m if SND_SOC_RT286=m --- 15 unchanged lines hidden (view full) --- 560 tristate 561 562config SND_SOC_RT5645 563 tristate 564 565config SND_SOC_RT5651 566 tristate 567 |
568config SND_SOC_RT5659 569 tristate 570 |
|
565config SND_SOC_RT5670 566 tristate 567 568config SND_SOC_RT5677 569 tristate 570 select REGMAP_I2C 571 select REGMAP_IRQ 572 --- 313 unchanged lines hidden (view full) --- 886config SND_SOC_WM9705 887 tristate 888 889config SND_SOC_WM9712 890 tristate 891 892config SND_SOC_WM9713 893 tristate | 571config SND_SOC_RT5670 572 tristate 573 574config SND_SOC_RT5677 575 tristate 576 select REGMAP_I2C 577 select REGMAP_IRQ 578 --- 313 unchanged lines hidden (view full) --- 892config SND_SOC_WM9705 893 tristate 894 895config SND_SOC_WM9712 896 tristate 897 898config SND_SOC_WM9713 899 tristate |
894 select REGMAP_AC97 | |
895 896# Amp 897config SND_SOC_LM4857 898 tristate 899 900config SND_SOC_MAX9768 901 tristate 902 --- 17 unchanged lines hidden --- | 900 901# Amp 902config SND_SOC_LM4857 903 tristate 904 905config SND_SOC_MAX9768 906 tristate 907 --- 17 unchanged lines hidden --- |