Emilio López | 45fb6b6 | 2015-09-12 15:26:24 +0200 | [diff] [blame] | 1 | menu "Allwinner SoC Audio support" |
Peter Robinson | 702650b | 2016-08-23 18:17:46 +0100 | [diff] [blame] | 2 | depends on ARCH_SUNXI || COMPILE_TEST |
Emilio López | 45fb6b6 | 2015-09-12 15:26:24 +0200 | [diff] [blame] | 3 | |
| 4 | config SND_SUN4I_CODEC |
| 5 | tristate "Allwinner A10 Codec Support" |
| 6 | select SND_SOC_GENERIC_DMAENGINE_PCM |
| 7 | select REGMAP_MMIO |
| 8 | help |
| 9 | Select Y or M to add support for the Codec embedded in the Allwinner |
| 10 | A10 and affiliated SoCs. |
| 11 | |
Mylène Josserand | 36c6849 | 2017-02-02 10:24:17 +0100 | [diff] [blame] | 12 | config SND_SUN8I_CODEC |
| 13 | tristate "Allwinner SUN8I audio codec" |
| 14 | depends on OF |
| 15 | depends on MACH_SUN8I || COMPILE_TEST |
| 16 | select REGMAP_MMIO |
| 17 | help |
| 18 | This option enables the digital part of the internal audio codec for |
| 19 | Allwinner sun8i SoC (and particularly A33). |
| 20 | |
| 21 | Say Y or M if you want to add sun8i digital audio codec support. |
| 22 | |
Chen-Yu Tsai | ba2ff30 | 2016-11-12 14:46:40 +0800 | [diff] [blame] | 23 | config SND_SUN8I_CODEC_ANALOG |
| 24 | tristate "Allwinner sun8i Codec Analog Controls Support" |
Icenowy Zheng | e5028a2 | 2017-02-08 02:30:40 +0800 | [diff] [blame] | 25 | depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST |
Vasily Khoruzhick | 55b407f | 2018-10-17 00:38:07 -0700 | [diff] [blame^] | 26 | select SND_SUN8I_ADDA_PR_REGMAP |
Chen-Yu Tsai | ba2ff30 | 2016-11-12 14:46:40 +0800 | [diff] [blame] | 27 | help |
| 28 | Say Y or M if you want to add support for the analog controls for |
| 29 | the codec embedded in newer Allwinner SoCs. |
| 30 | |
Maxime Ripard | fa7c0d1 | 2016-06-15 23:11:21 +0200 | [diff] [blame] | 31 | config SND_SUN4I_I2S |
| 32 | tristate "Allwinner A10 I2S Support" |
| 33 | select SND_SOC_GENERIC_DMAENGINE_PCM |
| 34 | select REGMAP_MMIO |
| 35 | help |
| 36 | Say Y or M if you want to add support for codecs attached to |
| 37 | the Allwinner A10 I2S. You will also need to select the |
| 38 | individual machine drivers to support below. |
| 39 | |
Marcus Cooper | f8260af | 2016-02-08 18:09:21 +0100 | [diff] [blame] | 40 | config SND_SUN4I_SPDIF |
| 41 | tristate "Allwinner A10 SPDIF Support" |
| 42 | depends on OF |
| 43 | select SND_SOC_GENERIC_DMAENGINE_PCM |
| 44 | select REGMAP_MMIO |
| 45 | help |
| 46 | Say Y or M to add support for the S/PDIF audio block in the Allwinner |
| 47 | A10 and affiliated SoCs. |
Vasily Khoruzhick | 55b407f | 2018-10-17 00:38:07 -0700 | [diff] [blame^] | 48 | |
| 49 | config SND_SUN8I_ADDA_PR_REGMAP |
| 50 | tristate |
| 51 | select REGMAP |
| 52 | |
Emilio López | 45fb6b6 | 2015-09-12 15:26:24 +0200 | [diff] [blame] | 53 | endmenu |