1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "ASoC support for Amlogic platforms" 2 menu "ASoC support for Amlogic platforms" 3 depends on ARCH_MESON || (COMPILE_TEST !! 3 depends on ARCH_MESON || COMPILE_TEST 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_ << 11 help << 12 Select Y or M to add support for the << 13 in the Amlogic Meson8, Meson8b and G << 14 4 15 config SND_MESON_AXG_FIFO 5 config SND_MESON_AXG_FIFO 16 tristate 6 tristate 17 select REGMAP_MMIO 7 select REGMAP_MMIO 18 imply COMMON_CLK_AXG_AUDIO 8 imply COMMON_CLK_AXG_AUDIO 19 imply RESET_MESON_AUDIO_ARB 9 imply RESET_MESON_AUDIO_ARB 20 10 21 config SND_MESON_AXG_FRDDR 11 config SND_MESON_AXG_FRDDR 22 tristate "Amlogic AXG Playback FIFO su 12 tristate "Amlogic AXG Playback FIFO support" 23 select SND_MESON_AXG_FIFO 13 select SND_MESON_AXG_FIFO 24 help 14 help 25 Select Y or M to add support for the 15 Select Y or M to add support for the frontend playback interfaces 26 embedded in the Amlogic AXG SoC fami 16 embedded in the Amlogic AXG SoC family 27 17 28 config SND_MESON_AXG_TODDR 18 config SND_MESON_AXG_TODDR 29 tristate "Amlogic AXG Capture FIFO sup 19 tristate "Amlogic AXG Capture FIFO support" 30 select SND_MESON_AXG_FIFO 20 select SND_MESON_AXG_FIFO 31 help 21 help 32 Select Y or M to add support for the 22 Select Y or M to add support for the frontend capture interfaces 33 embedded in the Amlogic AXG SoC fami 23 embedded in the Amlogic AXG SoC family 34 24 35 config SND_MESON_AXG_TDM_FORMATTER 25 config SND_MESON_AXG_TDM_FORMATTER 36 tristate 26 tristate 37 select REGMAP_MMIO 27 select REGMAP_MMIO 38 imply COMMON_CLK_AXG_AUDIO 28 imply COMMON_CLK_AXG_AUDIO 39 29 40 config SND_MESON_AXG_TDM_INTERFACE 30 config SND_MESON_AXG_TDM_INTERFACE 41 tristate 31 tristate 42 select SND_MESON_AXG_TDM_FORMATTER 32 select SND_MESON_AXG_TDM_FORMATTER 43 33 44 config SND_MESON_AXG_TDMIN 34 config SND_MESON_AXG_TDMIN 45 tristate "Amlogic AXG TDM Input Suppor 35 tristate "Amlogic AXG TDM Input Support" 46 select SND_MESON_AXG_TDM_FORMATTER 36 select SND_MESON_AXG_TDM_FORMATTER 47 select SND_MESON_AXG_TDM_INTERFACE 37 select SND_MESON_AXG_TDM_INTERFACE 48 help 38 help 49 Select Y or M to add support for TDM 39 Select Y or M to add support for TDM input formatter embedded 50 in the Amlogic AXG SoC family 40 in the Amlogic AXG SoC family 51 41 52 config SND_MESON_AXG_TDMOUT 42 config SND_MESON_AXG_TDMOUT 53 tristate "Amlogic AXG TDM Output Suppo 43 tristate "Amlogic AXG TDM Output Support" 54 select SND_MESON_AXG_TDM_FORMATTER 44 select SND_MESON_AXG_TDM_FORMATTER 55 select SND_MESON_AXG_TDM_INTERFACE 45 select SND_MESON_AXG_TDM_INTERFACE 56 help 46 help 57 Select Y or M to add support for TDM 47 Select Y or M to add support for TDM output formatter embedded 58 in the Amlogic AXG SoC family 48 in the Amlogic AXG SoC family 59 49 60 config SND_MESON_AXG_SOUND_CARD 50 config SND_MESON_AXG_SOUND_CARD 61 tristate "Amlogic AXG Sound Card Suppo 51 tristate "Amlogic AXG Sound Card Support" 62 select SND_MESON_AXG_TDM_INTERFACE 52 select SND_MESON_AXG_TDM_INTERFACE 63 select SND_MESON_CARD_UTILS << 64 imply SND_MESON_AXG_FRDDR 53 imply SND_MESON_AXG_FRDDR 65 imply SND_MESON_AXG_TODDR 54 imply SND_MESON_AXG_TODDR 66 imply SND_MESON_AXG_TDMIN 55 imply SND_MESON_AXG_TDMIN 67 imply SND_MESON_AXG_TDMOUT 56 imply SND_MESON_AXG_TDMOUT 68 imply SND_MESON_AXG_SPDIFOUT 57 imply SND_MESON_AXG_SPDIFOUT 69 imply SND_MESON_AXG_SPDIFIN 58 imply SND_MESON_AXG_SPDIFIN 70 imply SND_MESON_AXG_PDM 59 imply SND_MESON_AXG_PDM 71 imply SND_MESON_G12A_TOACODEC << 72 imply SND_MESON_G12A_TOHDMITX if DRM_M 60 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI 73 help 61 help 74 Select Y or M to add support for the 62 Select Y or M to add support for the AXG SoC sound card 75 63 76 config SND_MESON_AXG_SPDIFOUT 64 config SND_MESON_AXG_SPDIFOUT 77 tristate "Amlogic AXG SPDIF Output Sup 65 tristate "Amlogic AXG SPDIF Output Support" 78 select SND_PCM_IEC958 66 select SND_PCM_IEC958 79 imply SND_SOC_SPDIF 67 imply SND_SOC_SPDIF 80 imply COMMON_CLK_AXG_AUDIO 68 imply COMMON_CLK_AXG_AUDIO 81 help 69 help 82 Select Y or M to add support for SPD 70 Select Y or M to add support for SPDIF output serializer embedded 83 in the Amlogic AXG SoC family 71 in the Amlogic AXG SoC family 84 72 85 config SND_MESON_AXG_SPDIFIN 73 config SND_MESON_AXG_SPDIFIN 86 tristate "Amlogic AXG SPDIF Input Supp 74 tristate "Amlogic AXG SPDIF Input Support" 87 imply SND_SOC_SPDIF 75 imply SND_SOC_SPDIF 88 help 76 help 89 Select Y or M to add support for SPD 77 Select Y or M to add support for SPDIF input embedded 90 in the Amlogic AXG SoC family 78 in the Amlogic AXG SoC family 91 79 92 config SND_MESON_AXG_PDM 80 config SND_MESON_AXG_PDM 93 tristate "Amlogic AXG PDM Input Suppor 81 tristate "Amlogic AXG PDM Input Support" 94 imply SND_SOC_DMIC 82 imply SND_SOC_DMIC 95 imply COMMON_CLK_AXG_AUDIO 83 imply COMMON_CLK_AXG_AUDIO 96 help 84 help 97 Select Y or M to add support for PDM 85 Select Y or M to add support for PDM input embedded 98 in the Amlogic AXG SoC family 86 in the Amlogic AXG SoC family 99 87 100 config SND_MESON_CARD_UTILS << 101 tristate << 102 select SND_DYNAMIC_MINORS << 103 << 104 config SND_MESON_CODEC_GLUE << 105 tristate << 106 << 107 config SND_MESON_GX_SOUND_CARD << 108 tristate "Amlogic GX Sound Card Suppor << 109 select SND_MESON_CARD_UTILS << 110 imply SND_MESON_AIU << 111 help << 112 Select Y or M to add support for the << 113 << 114 config SND_MESON_G12A_TOACODEC << 115 tristate "Amlogic G12A To Internal DAC << 116 select SND_MESON_CODEC_GLUE << 117 select REGMAP_MMIO << 118 imply SND_SOC_MESON_T9015 << 119 help << 120 Select Y or M to add support for the << 121 g12a SoC family << 122 << 123 config SND_MESON_G12A_TOHDMITX 88 config SND_MESON_G12A_TOHDMITX 124 tristate "Amlogic G12A To HDMI TX Cont 89 tristate "Amlogic G12A To HDMI TX Control Support" 125 select REGMAP_MMIO 90 select REGMAP_MMIO 126 select SND_MESON_CODEC_GLUE << 127 imply SND_SOC_HDMI_CODEC 91 imply SND_SOC_HDMI_CODEC 128 help 92 help 129 Select Y or M to add support for HDM 93 Select Y or M to add support for HDMI audio on the g12a SoC 130 family 94 family 131 << 132 config SND_SOC_MESON_T9015 << 133 tristate "Amlogic T9015 DAC" << 134 select REGMAP_MMIO << 135 help << 136 Say Y or M if you want to add suppor << 137 on GXL, G12 and SM1 SoC family. << 138 endmenu 95 endmenu
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.