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" |
Jerome Brunet | b82b734 | 2020-02-13 16:51:55 +0100 | [diff] [blame] | 7 | select SND_MESON_CODEC_GLUE |
Jerome Brunet | 6ae9ca9 | 2020-02-13 16:51:54 +0100 | [diff] [blame] | 8 | select SND_PCM_IEC958 |
Jerome Brunet | 33901f5 | 2020-02-19 18:35:03 +0100 | [diff] [blame] | 9 | imply SND_SOC_MESON_T9015 |
Jerome Brunet | b82b734 | 2020-02-13 16:51:55 +0100 | [diff] [blame] | 10 | imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI |
Jerome Brunet | 6ae9ca9 | 2020-02-13 16:51:54 +0100 | [diff] [blame] | 11 | help |
| 12 | Select Y or M to add support for the Audio output subsystem found |
Martin Blumenstingl | 3e25c44 | 2020-02-20 21:57:11 +0100 | [diff] [blame] | 13 | in the Amlogic Meson8, Meson8b and GX SoC families |
Jerome Brunet | 6ae9ca9 | 2020-02-13 16:51:54 +0100 | [diff] [blame] | 14 | |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 15 | config SND_MESON_AXG_FIFO |
| 16 | tristate |
| 17 | select REGMAP_MMIO |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 18 | imply COMMON_CLK_AXG_AUDIO |
| 19 | imply RESET_MESON_AUDIO_ARB |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 20 | |
Jerome Brunet | 57d552e | 2018-07-17 17:42:52 +0200 | [diff] [blame] | 21 | config SND_MESON_AXG_FRDDR |
| 22 | tristate "Amlogic AXG Playback FIFO support" |
| 23 | select SND_MESON_AXG_FIFO |
| 24 | help |
| 25 | Select Y or M to add support for the frontend playback interfaces |
| 26 | embedded in the Amlogic AXG SoC family |
| 27 | |
Jerome Brunet | 7ed4877 | 2018-07-17 17:42:53 +0200 | [diff] [blame] | 28 | config SND_MESON_AXG_TODDR |
| 29 | tristate "Amlogic AXG Capture FIFO support" |
| 30 | select SND_MESON_AXG_FIFO |
| 31 | help |
| 32 | Select Y or M to add support for the frontend capture interfaces |
| 33 | embedded in the Amlogic AXG SoC family |
| 34 | |
Jerome Brunet | 1a11d88 | 2018-07-17 17:42:58 +0200 | [diff] [blame] | 35 | config SND_MESON_AXG_TDM_FORMATTER |
| 36 | tristate |
| 37 | select REGMAP_MMIO |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 38 | imply COMMON_CLK_AXG_AUDIO |
Jerome Brunet | 1a11d88 | 2018-07-17 17:42:58 +0200 | [diff] [blame] | 39 | |
Jerome Brunet | d60e4f1 | 2018-07-17 17:42:59 +0200 | [diff] [blame] | 40 | config SND_MESON_AXG_TDM_INTERFACE |
| 41 | tristate |
| 42 | select SND_MESON_AXG_TDM_FORMATTER |
| 43 | |
Jerome Brunet | 13a22e6 | 2018-07-17 17:43:01 +0200 | [diff] [blame] | 44 | config SND_MESON_AXG_TDMIN |
| 45 | tristate "Amlogic AXG TDM Input Support" |
| 46 | select SND_MESON_AXG_TDM_FORMATTER |
| 47 | select SND_MESON_AXG_TDM_INTERFACE |
| 48 | help |
| 49 | Select Y or M to add support for TDM input formatter embedded |
| 50 | in the Amlogic AXG SoC family |
| 51 | |
Jerome Brunet | c41c2a3 | 2018-07-17 17:43:00 +0200 | [diff] [blame] | 52 | config SND_MESON_AXG_TDMOUT |
| 53 | tristate "Amlogic AXG TDM Output Support" |
| 54 | select SND_MESON_AXG_TDM_FORMATTER |
| 55 | select SND_MESON_AXG_TDM_INTERFACE |
| 56 | help |
| 57 | Select Y or M to add support for TDM output formatter embedded |
| 58 | in the Amlogic AXG SoC family |
| 59 | |
Jerome Brunet | 7864a79 | 2018-07-17 17:43:04 +0200 | [diff] [blame] | 60 | config SND_MESON_AXG_SOUND_CARD |
| 61 | tristate "Amlogic AXG Sound Card Support" |
| 62 | select SND_MESON_AXG_TDM_INTERFACE |
Jerome Brunet | aa9c3b7 | 2020-02-13 16:51:57 +0100 | [diff] [blame] | 63 | select SND_MESON_CARD_UTILS |
Jerome Brunet | 7864a79 | 2018-07-17 17:43:04 +0200 | [diff] [blame] | 64 | imply SND_MESON_AXG_FRDDR |
| 65 | imply SND_MESON_AXG_TODDR |
| 66 | imply SND_MESON_AXG_TDMIN |
| 67 | imply SND_MESON_AXG_TDMOUT |
| 68 | imply SND_MESON_AXG_SPDIFOUT |
Jerome Brunet | 5ce5658 | 2018-12-11 14:47:12 +0100 | [diff] [blame] | 69 | imply SND_MESON_AXG_SPDIFIN |
Jerome Brunet | 2cfc123 | 2018-08-29 17:00:51 +0200 | [diff] [blame] | 70 | imply SND_MESON_AXG_PDM |
Jerome Brunet | e50186e | 2020-06-17 17:50:47 +0200 | [diff] [blame] | 71 | imply SND_MESON_G12A_TOACODEC |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame] | 72 | imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI |
Jerome Brunet | 7864a79 | 2018-07-17 17:43:04 +0200 | [diff] [blame] | 73 | help |
| 74 | Select Y or M to add support for the AXG SoC sound card |
| 75 | |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 76 | config SND_MESON_AXG_SPDIFOUT |
| 77 | tristate "Amlogic AXG SPDIF Output Support" |
Arnd Bergmann | a241c3d | 2018-07-24 11:36:45 +0200 | [diff] [blame] | 78 | select SND_PCM_IEC958 |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 79 | imply SND_SOC_SPDIF |
Jerome Brunet | ac16df9 | 2018-08-28 14:17:21 +0200 | [diff] [blame] | 80 | imply COMMON_CLK_AXG_AUDIO |
Jerome Brunet | 53eb4b7 | 2018-07-17 17:42:55 +0200 | [diff] [blame] | 81 | help |
| 82 | Select Y or M to add support for SPDIF output serializer embedded |
| 83 | in the Amlogic AXG SoC family |
| 84 | |
Jerome Brunet | 5ce5658 | 2018-12-11 14:47:12 +0100 | [diff] [blame] | 85 | config SND_MESON_AXG_SPDIFIN |
| 86 | tristate "Amlogic AXG SPDIF Input Support" |
| 87 | imply SND_SOC_SPDIF |
| 88 | help |
| 89 | Select Y or M to add support for SPDIF input embedded |
| 90 | in the Amlogic AXG SoC family |
| 91 | |
Jerome Brunet | 2cfc123 | 2018-08-29 17:00:51 +0200 | [diff] [blame] | 92 | config SND_MESON_AXG_PDM |
| 93 | tristate "Amlogic AXG PDM Input Support" |
| 94 | imply SND_SOC_DMIC |
| 95 | imply COMMON_CLK_AXG_AUDIO |
| 96 | help |
| 97 | Select Y or M to add support for PDM input embedded |
| 98 | in the Amlogic AXG SoC family |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame] | 99 | |
Jerome Brunet | aa9c3b7 | 2020-02-13 16:51:57 +0100 | [diff] [blame] | 100 | config SND_MESON_CARD_UTILS |
| 101 | tristate |
| 102 | |
Jerome Brunet | 9c29fd9 | 2020-02-13 16:51:52 +0100 | [diff] [blame] | 103 | config SND_MESON_CODEC_GLUE |
| 104 | tristate |
| 105 | |
Jerome Brunet | e37a0c3 | 2020-02-13 16:51:59 +0100 | [diff] [blame] | 106 | config SND_MESON_GX_SOUND_CARD |
| 107 | tristate "Amlogic GX Sound Card Support" |
| 108 | select SND_MESON_CARD_UTILS |
| 109 | imply SND_MESON_AIU |
| 110 | help |
| 111 | Select Y or M to add support for the GXBB/GXL SoC sound card |
| 112 | |
Jerome Brunet | af2618a | 2020-02-21 16:36:06 +0100 | [diff] [blame] | 113 | config SND_MESON_G12A_TOACODEC |
| 114 | tristate "Amlogic G12A To Internal DAC Control Support" |
| 115 | select SND_MESON_CODEC_GLUE |
| 116 | select REGMAP_MMIO |
| 117 | imply SND_SOC_MESON_T9015 |
| 118 | help |
| 119 | Select Y or M to add support for the internal audio DAC on the |
| 120 | g12a SoC family |
| 121 | |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame] | 122 | config SND_MESON_G12A_TOHDMITX |
| 123 | tristate "Amlogic G12A To HDMI TX Control Support" |
Jerome Brunet | 351b310 | 2019-08-20 14:35:10 +0200 | [diff] [blame] | 124 | select REGMAP_MMIO |
Jerome Brunet | 9c29fd9 | 2020-02-13 16:51:52 +0100 | [diff] [blame] | 125 | select SND_MESON_CODEC_GLUE |
Jerome Brunet | c8609f3 | 2019-05-15 15:18:58 +0200 | [diff] [blame] | 126 | imply SND_SOC_HDMI_CODEC |
| 127 | help |
| 128 | Select Y or M to add support for HDMI audio on the g12a SoC |
| 129 | family |
Jerome Brunet | 33901f5 | 2020-02-19 18:35:03 +0100 | [diff] [blame] | 130 | |
| 131 | config SND_SOC_MESON_T9015 |
| 132 | tristate "Amlogic T9015 DAC" |
| 133 | select REGMAP_MMIO |
| 134 | help |
| 135 | Say Y or M if you want to add support for the internal DAC found |
| 136 | on GXL, G12 and SM1 SoC family. |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 137 | endmenu |