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