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