Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 1 | menu "ASoC support for Amlogic platforms" |
| 2 | depends on ARCH_MESON || COMPILE_TEST |
| 3 | |
| 4 | config SND_MESON_AXG_FIFO |
| 5 | tristate |
| 6 | select REGMAP_MMIO |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 7 | imply COMMON_CLK_AXG_AUDIO |
| 8 | imply RESET_MESON_AUDIO_ARB |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 9 | |
Jerome Brunet | 57d552e | 2018-07-17 17:42:52 +0200 | [diff] [blame] | 10 | config SND_MESON_AXG_FRDDR |
| 11 | tristate "Amlogic AXG Playback FIFO support" |
| 12 | select SND_MESON_AXG_FIFO |
| 13 | help |
| 14 | Select Y or M to add support for the frontend playback interfaces |
| 15 | embedded in the Amlogic AXG SoC family |
| 16 | |
Jerome Brunet | 7ed4877 | 2018-07-17 17:42:53 +0200 | [diff] [blame] | 17 | config SND_MESON_AXG_TODDR |
| 18 | tristate "Amlogic AXG Capture FIFO support" |
| 19 | select SND_MESON_AXG_FIFO |
| 20 | help |
| 21 | Select Y or M to add support for the frontend capture interfaces |
| 22 | embedded in the Amlogic AXG SoC family |
| 23 | |
Jerome Brunet | 1a11d88 | 2018-07-17 17:42:58 +0200 | [diff] [blame] | 24 | config SND_MESON_AXG_TDM_FORMATTER |
| 25 | tristate |
| 26 | select REGMAP_MMIO |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 27 | imply COMMON_CLK_AXG_AUDIO |
Jerome Brunet | 1a11d88 | 2018-07-17 17:42:58 +0200 | [diff] [blame] | 28 | |
Jerome Brunet | d60e4f1 | 2018-07-17 17:42:59 +0200 | [diff] [blame] | 29 | config SND_MESON_AXG_TDM_INTERFACE |
| 30 | tristate |
| 31 | select SND_MESON_AXG_TDM_FORMATTER |
| 32 | |
Jerome Brunet | 13a22e6 | 2018-07-17 17:43:01 +0200 | [diff] [blame] | 33 | config SND_MESON_AXG_TDMIN |
| 34 | tristate "Amlogic AXG TDM Input Support" |
| 35 | select SND_MESON_AXG_TDM_FORMATTER |
| 36 | select SND_MESON_AXG_TDM_INTERFACE |
| 37 | help |
| 38 | Select Y or M to add support for TDM input formatter embedded |
| 39 | in the Amlogic AXG SoC family |
| 40 | |
Jerome Brunet | c41c2a3 | 2018-07-17 17:43:00 +0200 | [diff] [blame] | 41 | config SND_MESON_AXG_TDMOUT |
| 42 | tristate "Amlogic AXG TDM Output Support" |
| 43 | select SND_MESON_AXG_TDM_FORMATTER |
| 44 | select SND_MESON_AXG_TDM_INTERFACE |
| 45 | help |
| 46 | Select Y or M to add support for TDM output formatter embedded |
| 47 | in the Amlogic AXG SoC family |
| 48 | |
Jerome Brunet | 7864a79 | 2018-07-17 17:43:04 +0200 | [diff] [blame] | 49 | config SND_MESON_AXG_SOUND_CARD |
| 50 | tristate "Amlogic AXG Sound Card Support" |
| 51 | select SND_MESON_AXG_TDM_INTERFACE |
| 52 | imply SND_MESON_AXG_FRDDR |
| 53 | imply SND_MESON_AXG_TODDR |
| 54 | imply SND_MESON_AXG_TDMIN |
| 55 | imply SND_MESON_AXG_TDMOUT |
| 56 | imply SND_MESON_AXG_SPDIFOUT |
Jerome Brunet | 5ce5658 | 2018-12-11 14:47:12 +0100 | [diff] [blame] | 57 | imply SND_MESON_AXG_SPDIFIN |
Jerome Brunet | 2cfc123 | 2018-08-29 17:00:51 +0200 | [diff] [blame] | 58 | imply SND_MESON_AXG_PDM |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame^] | 59 | imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI |
Jerome Brunet | 7864a79 | 2018-07-17 17:43:04 +0200 | [diff] [blame] | 60 | help |
| 61 | Select Y or M to add support for the AXG SoC sound card |
| 62 | |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 63 | config SND_MESON_AXG_SPDIFOUT |
| 64 | tristate "Amlogic AXG SPDIF Output Support" |
Arnd Bergmann | a241c3d | 2018-07-24 11:36:45 +0200 | [diff] [blame] | 65 | select SND_PCM_IEC958 |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 66 | imply SND_SOC_SPDIF |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 67 | imply COMMON_CLK_AXG_AUDIO |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 68 | help |
| 69 | Select Y or M to add support for SPDIF output serializer embedded |
| 70 | in the Amlogic AXG SoC family |
| 71 | |
Jerome Brunet | 5ce5658 | 2018-12-11 14:47:12 +0100 | [diff] [blame] | 72 | config SND_MESON_AXG_SPDIFIN |
| 73 | tristate "Amlogic AXG SPDIF Input Support" |
| 74 | imply SND_SOC_SPDIF |
| 75 | help |
| 76 | Select Y or M to add support for SPDIF input embedded |
| 77 | in the Amlogic AXG SoC family |
| 78 | |
Jerome Brunet | 2cfc123 | 2018-08-29 17:00:51 +0200 | [diff] [blame] | 79 | config SND_MESON_AXG_PDM |
| 80 | tristate "Amlogic AXG PDM Input Support" |
| 81 | imply SND_SOC_DMIC |
| 82 | imply COMMON_CLK_AXG_AUDIO |
| 83 | help |
| 84 | Select Y or M to add support for PDM input embedded |
| 85 | in the Amlogic AXG SoC family |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame^] | 86 | |
| 87 | config SND_MESON_G12A_TOHDMITX |
| 88 | tristate "Amlogic G12A To HDMI TX Control Support" |
| 89 | imply SND_SOC_HDMI_CODEC |
| 90 | help |
| 91 | Select Y or M to add support for HDMI audio on the g12a SoC |
| 92 | family |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 93 | endmenu |