| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menu "ASoC support for Amlogic platforms" |
|---|
| 2 | 3 | depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK) |
|---|
| 4 | + |
|---|
| 5 | +config SND_MESON_AIU |
|---|
| 6 | + tristate "Amlogic AIU" |
|---|
| 7 | + select SND_MESON_CODEC_GLUE |
|---|
| 8 | + select SND_PCM_IEC958 |
|---|
| 9 | + imply SND_SOC_MESON_T9015 |
|---|
| 10 | + imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI |
|---|
| 11 | + help |
|---|
| 12 | + Select Y or M to add support for the Audio output subsystem found |
|---|
| 13 | + in the Amlogic Meson8, Meson8b and GX SoC families |
|---|
| 3 | 14 | |
|---|
| 4 | 15 | config SND_MESON_AXG_FIFO |
|---|
| 5 | 16 | tristate |
|---|
| 6 | 17 | select REGMAP_MMIO |
|---|
| 18 | + imply COMMON_CLK_AXG_AUDIO |
|---|
| 19 | + imply RESET_MESON_AUDIO_ARB |
|---|
| 7 | 20 | |
|---|
| 8 | 21 | config SND_MESON_AXG_FRDDR |
|---|
| 9 | 22 | tristate "Amlogic AXG Playback FIFO support" |
|---|
| .. | .. |
|---|
| 22 | 35 | config SND_MESON_AXG_TDM_FORMATTER |
|---|
| 23 | 36 | tristate |
|---|
| 24 | 37 | select REGMAP_MMIO |
|---|
| 38 | + imply COMMON_CLK_AXG_AUDIO |
|---|
| 25 | 39 | |
|---|
| 26 | 40 | config SND_MESON_AXG_TDM_INTERFACE |
|---|
| 27 | 41 | tristate |
|---|
| .. | .. |
|---|
| 46 | 60 | config SND_MESON_AXG_SOUND_CARD |
|---|
| 47 | 61 | tristate "Amlogic AXG Sound Card Support" |
|---|
| 48 | 62 | select SND_MESON_AXG_TDM_INTERFACE |
|---|
| 63 | + select SND_MESON_CARD_UTILS |
|---|
| 49 | 64 | imply SND_MESON_AXG_FRDDR |
|---|
| 50 | 65 | imply SND_MESON_AXG_TODDR |
|---|
| 51 | 66 | imply SND_MESON_AXG_TDMIN |
|---|
| 52 | 67 | imply SND_MESON_AXG_TDMOUT |
|---|
| 53 | 68 | imply SND_MESON_AXG_SPDIFOUT |
|---|
| 69 | + imply SND_MESON_AXG_SPDIFIN |
|---|
| 70 | + imply SND_MESON_AXG_PDM |
|---|
| 71 | + imply SND_MESON_G12A_TOACODEC |
|---|
| 72 | + imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI |
|---|
| 54 | 73 | help |
|---|
| 55 | 74 | Select Y or M to add support for the AXG SoC sound card |
|---|
| 56 | 75 | |
|---|
| .. | .. |
|---|
| 58 | 77 | tristate "Amlogic AXG SPDIF Output Support" |
|---|
| 59 | 78 | select SND_PCM_IEC958 |
|---|
| 60 | 79 | imply SND_SOC_SPDIF |
|---|
| 80 | + imply COMMON_CLK_AXG_AUDIO |
|---|
| 61 | 81 | help |
|---|
| 62 | 82 | Select Y or M to add support for SPDIF output serializer embedded |
|---|
| 63 | 83 | in the Amlogic AXG SoC family |
|---|
| 64 | 84 | |
|---|
| 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 | + |
|---|
| 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 |
|---|
| 99 | + |
|---|
| 100 | +config SND_MESON_CARD_UTILS |
|---|
| 101 | + tristate |
|---|
| 102 | + |
|---|
| 103 | +config SND_MESON_CODEC_GLUE |
|---|
| 104 | + tristate |
|---|
| 105 | + |
|---|
| 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 | + |
|---|
| 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 | + |
|---|
| 122 | +config SND_MESON_G12A_TOHDMITX |
|---|
| 123 | + tristate "Amlogic G12A To HDMI TX Control Support" |
|---|
| 124 | + select REGMAP_MMIO |
|---|
| 125 | + select SND_MESON_CODEC_GLUE |
|---|
| 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 |
|---|
| 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. |
|---|
| 65 | 137 | endmenu |
|---|