2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-07-17 23:42:51 +08:00
|
|
|
menu "ASoC support for Amlogic platforms"
|
2020-11-17 01:24:23 +08:00
|
|
|
depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK)
|
2018-07-17 23:42:51 +08:00
|
|
|
|
2020-02-13 23:51:54 +08:00
|
|
|
config SND_MESON_AIU
|
|
|
|
tristate "Amlogic AIU"
|
2020-02-13 23:51:55 +08:00
|
|
|
select SND_MESON_CODEC_GLUE
|
2020-02-13 23:51:54 +08:00
|
|
|
select SND_PCM_IEC958
|
2020-02-20 01:35:03 +08:00
|
|
|
imply SND_SOC_MESON_T9015
|
2020-02-13 23:51:55 +08:00
|
|
|
imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI
|
2020-02-13 23:51:54 +08:00
|
|
|
help
|
|
|
|
Select Y or M to add support for the Audio output subsystem found
|
2020-02-21 04:57:11 +08:00
|
|
|
in the Amlogic Meson8, Meson8b and GX SoC families
|
2020-02-13 23:51:54 +08:00
|
|
|
|
2018-07-17 23:42:51 +08:00
|
|
|
config SND_MESON_AXG_FIFO
|
|
|
|
tristate
|
|
|
|
select REGMAP_MMIO
|
2018-08-28 20:17:21 +08:00
|
|
|
imply COMMON_CLK_AXG_AUDIO
|
|
|
|
imply RESET_MESON_AUDIO_ARB
|
2018-07-17 23:42:51 +08:00
|
|
|
|
2018-07-17 23:42:52 +08:00
|
|
|
config SND_MESON_AXG_FRDDR
|
|
|
|
tristate "Amlogic AXG Playback FIFO support"
|
|
|
|
select SND_MESON_AXG_FIFO
|
|
|
|
help
|
|
|
|
Select Y or M to add support for the frontend playback interfaces
|
|
|
|
embedded in the Amlogic AXG SoC family
|
|
|
|
|
2018-07-17 23:42:53 +08:00
|
|
|
config SND_MESON_AXG_TODDR
|
|
|
|
tristate "Amlogic AXG Capture FIFO support"
|
|
|
|
select SND_MESON_AXG_FIFO
|
|
|
|
help
|
|
|
|
Select Y or M to add support for the frontend capture interfaces
|
|
|
|
embedded in the Amlogic AXG SoC family
|
|
|
|
|
2018-07-17 23:42:58 +08:00
|
|
|
config SND_MESON_AXG_TDM_FORMATTER
|
|
|
|
tristate
|
|
|
|
select REGMAP_MMIO
|
2018-08-28 20:17:21 +08:00
|
|
|
imply COMMON_CLK_AXG_AUDIO
|
2018-07-17 23:42:58 +08:00
|
|
|
|
2018-07-17 23:42:59 +08:00
|
|
|
config SND_MESON_AXG_TDM_INTERFACE
|
|
|
|
tristate
|
|
|
|
select SND_MESON_AXG_TDM_FORMATTER
|
|
|
|
|
2018-07-17 23:43:01 +08:00
|
|
|
config SND_MESON_AXG_TDMIN
|
|
|
|
tristate "Amlogic AXG TDM Input Support"
|
|
|
|
select SND_MESON_AXG_TDM_FORMATTER
|
|
|
|
select SND_MESON_AXG_TDM_INTERFACE
|
|
|
|
help
|
|
|
|
Select Y or M to add support for TDM input formatter embedded
|
|
|
|
in the Amlogic AXG SoC family
|
|
|
|
|
2018-07-17 23:43:00 +08:00
|
|
|
config SND_MESON_AXG_TDMOUT
|
|
|
|
tristate "Amlogic AXG TDM Output Support"
|
|
|
|
select SND_MESON_AXG_TDM_FORMATTER
|
|
|
|
select SND_MESON_AXG_TDM_INTERFACE
|
|
|
|
help
|
|
|
|
Select Y or M to add support for TDM output formatter embedded
|
|
|
|
in the Amlogic AXG SoC family
|
|
|
|
|
2018-07-17 23:43:04 +08:00
|
|
|
config SND_MESON_AXG_SOUND_CARD
|
|
|
|
tristate "Amlogic AXG Sound Card Support"
|
|
|
|
select SND_MESON_AXG_TDM_INTERFACE
|
2020-02-13 23:51:57 +08:00
|
|
|
select SND_MESON_CARD_UTILS
|
2018-07-17 23:43:04 +08:00
|
|
|
imply SND_MESON_AXG_FRDDR
|
|
|
|
imply SND_MESON_AXG_TODDR
|
|
|
|
imply SND_MESON_AXG_TDMIN
|
|
|
|
imply SND_MESON_AXG_TDMOUT
|
|
|
|
imply SND_MESON_AXG_SPDIFOUT
|
2018-12-11 21:47:12 +08:00
|
|
|
imply SND_MESON_AXG_SPDIFIN
|
2018-08-29 23:00:51 +08:00
|
|
|
imply SND_MESON_AXG_PDM
|
2020-06-17 23:50:47 +08:00
|
|
|
imply SND_MESON_G12A_TOACODEC
|
2019-05-15 21:18:58 +08:00
|
|
|
imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
|
2018-07-17 23:43:04 +08:00
|
|
|
help
|
|
|
|
Select Y or M to add support for the AXG SoC sound card
|
|
|
|
|
2018-07-17 23:42:55 +08:00
|
|
|
config SND_MESON_AXG_SPDIFOUT
|
|
|
|
tristate "Amlogic AXG SPDIF Output Support"
|
2018-07-24 17:36:45 +08:00
|
|
|
select SND_PCM_IEC958
|
2018-07-17 23:42:55 +08:00
|
|
|
imply SND_SOC_SPDIF
|
2018-08-28 20:17:21 +08:00
|
|
|
imply COMMON_CLK_AXG_AUDIO
|
2018-07-17 23:42:55 +08:00
|
|
|
help
|
|
|
|
Select Y or M to add support for SPDIF output serializer embedded
|
|
|
|
in the Amlogic AXG SoC family
|
|
|
|
|
2018-12-11 21:47:12 +08:00
|
|
|
config SND_MESON_AXG_SPDIFIN
|
|
|
|
tristate "Amlogic AXG SPDIF Input Support"
|
|
|
|
imply SND_SOC_SPDIF
|
|
|
|
help
|
|
|
|
Select Y or M to add support for SPDIF input embedded
|
|
|
|
in the Amlogic AXG SoC family
|
|
|
|
|
2018-08-29 23:00:51 +08:00
|
|
|
config SND_MESON_AXG_PDM
|
|
|
|
tristate "Amlogic AXG PDM Input Support"
|
|
|
|
imply SND_SOC_DMIC
|
|
|
|
imply COMMON_CLK_AXG_AUDIO
|
|
|
|
help
|
|
|
|
Select Y or M to add support for PDM input embedded
|
|
|
|
in the Amlogic AXG SoC family
|
2019-05-15 21:18:58 +08:00
|
|
|
|
2020-02-13 23:51:57 +08:00
|
|
|
config SND_MESON_CARD_UTILS
|
2020-11-11 01:49:04 +08:00
|
|
|
tristate
|
2020-02-13 23:51:57 +08:00
|
|
|
|
2020-02-13 23:51:52 +08:00
|
|
|
config SND_MESON_CODEC_GLUE
|
|
|
|
tristate
|
|
|
|
|
2020-02-13 23:51:59 +08:00
|
|
|
config SND_MESON_GX_SOUND_CARD
|
|
|
|
tristate "Amlogic GX Sound Card Support"
|
|
|
|
select SND_MESON_CARD_UTILS
|
|
|
|
imply SND_MESON_AIU
|
|
|
|
help
|
|
|
|
Select Y or M to add support for the GXBB/GXL SoC sound card
|
|
|
|
|
2020-02-21 23:36:06 +08:00
|
|
|
config SND_MESON_G12A_TOACODEC
|
|
|
|
tristate "Amlogic G12A To Internal DAC Control Support"
|
|
|
|
select SND_MESON_CODEC_GLUE
|
|
|
|
select REGMAP_MMIO
|
|
|
|
imply SND_SOC_MESON_T9015
|
|
|
|
help
|
|
|
|
Select Y or M to add support for the internal audio DAC on the
|
|
|
|
g12a SoC family
|
|
|
|
|
2019-05-15 21:18:58 +08:00
|
|
|
config SND_MESON_G12A_TOHDMITX
|
|
|
|
tristate "Amlogic G12A To HDMI TX Control Support"
|
2019-08-20 20:35:10 +08:00
|
|
|
select REGMAP_MMIO
|
2020-02-13 23:51:52 +08:00
|
|
|
select SND_MESON_CODEC_GLUE
|
2019-05-15 21:18:58 +08:00
|
|
|
imply SND_SOC_HDMI_CODEC
|
|
|
|
help
|
|
|
|
Select Y or M to add support for HDMI audio on the g12a SoC
|
|
|
|
family
|
2020-02-20 01:35:03 +08:00
|
|
|
|
|
|
|
config SND_SOC_MESON_T9015
|
|
|
|
tristate "Amlogic T9015 DAC"
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for the internal DAC found
|
|
|
|
on GXL, G12 and SM1 SoC family.
|
2018-07-17 23:42:51 +08:00
|
|
|
endmenu
|