xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 76ae951d)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
26dc4fa17SJerome Brunetmenu "ASoC support for Amlogic platforms"
3299fe993SJerome Brunet	depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK)
46dc4fa17SJerome Brunet
56ae9ca9cSJerome Brunetconfig SND_MESON_AIU
66ae9ca9cSJerome Brunet	tristate "Amlogic AIU"
7b82b734cSJerome Brunet	select SND_MESON_CODEC_GLUE
86ae9ca9cSJerome Brunet	select SND_PCM_IEC958
933901f5bSJerome Brunet	imply SND_SOC_MESON_T9015
10b82b734cSJerome Brunet	imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI
116ae9ca9cSJerome Brunet	help
126ae9ca9cSJerome Brunet	  Select Y or M to add support for the Audio output subsystem found
133e25c445SMartin Blumenstingl	  in the Amlogic Meson8, Meson8b and GX SoC families
146ae9ca9cSJerome Brunet
156dc4fa17SJerome Brunetconfig SND_MESON_AXG_FIFO
166dc4fa17SJerome Brunet	tristate
176dc4fa17SJerome Brunet	select REGMAP_MMIO
18ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
19ac16df93SJerome Brunet	imply RESET_MESON_AUDIO_ARB
206dc4fa17SJerome Brunet
2157d552e3SJerome Brunetconfig SND_MESON_AXG_FRDDR
2257d552e3SJerome Brunet	tristate "Amlogic AXG Playback FIFO support"
2357d552e3SJerome Brunet	select SND_MESON_AXG_FIFO
2457d552e3SJerome Brunet	help
2557d552e3SJerome Brunet	  Select Y or M to add support for the frontend playback interfaces
2657d552e3SJerome Brunet	  embedded in the Amlogic AXG SoC family
2757d552e3SJerome Brunet
287ed4877bSJerome Brunetconfig SND_MESON_AXG_TODDR
297ed4877bSJerome Brunet	tristate "Amlogic AXG Capture FIFO support"
307ed4877bSJerome Brunet	select SND_MESON_AXG_FIFO
317ed4877bSJerome Brunet	help
327ed4877bSJerome Brunet	  Select Y or M to add support for the frontend capture interfaces
337ed4877bSJerome Brunet	  embedded in the Amlogic AXG SoC family
347ed4877bSJerome Brunet
351a11d88fSJerome Brunetconfig SND_MESON_AXG_TDM_FORMATTER
361a11d88fSJerome Brunet	tristate
371a11d88fSJerome Brunet	select REGMAP_MMIO
38ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
391a11d88fSJerome Brunet
40d60e4f1eSJerome Brunetconfig SND_MESON_AXG_TDM_INTERFACE
41d60e4f1eSJerome Brunet	tristate
42d60e4f1eSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
43d60e4f1eSJerome Brunet
4413a22e6aSJerome Brunetconfig SND_MESON_AXG_TDMIN
4513a22e6aSJerome Brunet	tristate "Amlogic AXG TDM Input Support"
4613a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
4713a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
4813a22e6aSJerome Brunet	help
4913a22e6aSJerome Brunet	  Select Y or M to add support for TDM input formatter embedded
5013a22e6aSJerome Brunet	  in the Amlogic AXG SoC family
5113a22e6aSJerome Brunet
52c41c2a35SJerome Brunetconfig SND_MESON_AXG_TDMOUT
53c41c2a35SJerome Brunet	tristate "Amlogic AXG TDM Output Support"
54c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
55c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
56c41c2a35SJerome Brunet	help
57c41c2a35SJerome Brunet	  Select Y or M to add support for TDM output formatter embedded
58c41c2a35SJerome Brunet	  in the Amlogic AXG SoC family
59c41c2a35SJerome Brunet
607864a79fSJerome Brunetconfig SND_MESON_AXG_SOUND_CARD
617864a79fSJerome Brunet	tristate "Amlogic AXG Sound Card Support"
627864a79fSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
63aa9c3b72SJerome Brunet	select SND_MESON_CARD_UTILS
647864a79fSJerome Brunet	imply SND_MESON_AXG_FRDDR
657864a79fSJerome Brunet	imply SND_MESON_AXG_TODDR
667864a79fSJerome Brunet	imply SND_MESON_AXG_TDMIN
677864a79fSJerome Brunet	imply SND_MESON_AXG_TDMOUT
687864a79fSJerome Brunet	imply SND_MESON_AXG_SPDIFOUT
695ce56583SJerome Brunet	imply SND_MESON_AXG_SPDIFIN
702cfc123eSJerome Brunet	imply SND_MESON_AXG_PDM
71e50186e1SJerome Brunet	imply SND_MESON_G12A_TOACODEC
72c8609f38SJerome Brunet	imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
737864a79fSJerome Brunet	help
747864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
757864a79fSJerome Brunet
7653eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
7753eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
78a241c3d9SArnd Bergmann	select SND_PCM_IEC958
7953eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
80ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
8153eb4b7aSJerome Brunet	help
8253eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
8353eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
8453eb4b7aSJerome Brunet
855ce56583SJerome Brunetconfig SND_MESON_AXG_SPDIFIN
865ce56583SJerome Brunet	tristate "Amlogic AXG SPDIF Input Support"
875ce56583SJerome Brunet	imply SND_SOC_SPDIF
885ce56583SJerome Brunet	help
895ce56583SJerome Brunet	  Select Y or M to add support for SPDIF input embedded
905ce56583SJerome Brunet	  in the Amlogic AXG SoC family
915ce56583SJerome Brunet
922cfc123eSJerome Brunetconfig SND_MESON_AXG_PDM
932cfc123eSJerome Brunet	tristate "Amlogic AXG PDM Input Support"
942cfc123eSJerome Brunet	imply SND_SOC_DMIC
952cfc123eSJerome Brunet	imply COMMON_CLK_AXG_AUDIO
962cfc123eSJerome Brunet	help
972cfc123eSJerome Brunet	  Select Y or M to add support for PDM input embedded
982cfc123eSJerome Brunet	  in the Amlogic AXG SoC family
99c8609f38SJerome Brunet
100aa9c3b72SJerome Brunetconfig SND_MESON_CARD_UTILS
101aa9c3b72SJerome Brunet	tristate
10276ae951dSJerome Brunet	select SND_DYNAMIC_MINORS
103aa9c3b72SJerome Brunet
1049c29fd9bSJerome Brunetconfig SND_MESON_CODEC_GLUE
1059c29fd9bSJerome Brunet	tristate
1069c29fd9bSJerome Brunet
107e37a0c31SJerome Brunetconfig SND_MESON_GX_SOUND_CARD
108e37a0c31SJerome Brunet	tristate "Amlogic GX Sound Card Support"
109e37a0c31SJerome Brunet	select SND_MESON_CARD_UTILS
110e37a0c31SJerome Brunet	imply SND_MESON_AIU
111e37a0c31SJerome Brunet	help
112e37a0c31SJerome Brunet	  Select Y or M to add support for the GXBB/GXL SoC sound card
113e37a0c31SJerome Brunet
114af2618a2SJerome Brunetconfig SND_MESON_G12A_TOACODEC
115af2618a2SJerome Brunet	tristate "Amlogic G12A To Internal DAC Control Support"
116af2618a2SJerome Brunet	select SND_MESON_CODEC_GLUE
117af2618a2SJerome Brunet	select REGMAP_MMIO
118af2618a2SJerome Brunet	imply SND_SOC_MESON_T9015
119af2618a2SJerome Brunet	help
120af2618a2SJerome Brunet	  Select Y or M to add support for the internal audio DAC on the
121af2618a2SJerome Brunet	  g12a SoC family
122af2618a2SJerome Brunet
123c8609f38SJerome Brunetconfig SND_MESON_G12A_TOHDMITX
124c8609f38SJerome Brunet	tristate "Amlogic G12A To HDMI TX Control Support"
125351b3100SJerome Brunet	select REGMAP_MMIO
1269c29fd9bSJerome Brunet	select SND_MESON_CODEC_GLUE
127c8609f38SJerome Brunet	imply SND_SOC_HDMI_CODEC
128c8609f38SJerome Brunet	help
129c8609f38SJerome Brunet	  Select Y or M to add support for HDMI audio on the g12a SoC
130c8609f38SJerome Brunet	  family
13133901f5bSJerome Brunet
13233901f5bSJerome Brunetconfig SND_SOC_MESON_T9015
13333901f5bSJerome Brunet	tristate "Amlogic T9015 DAC"
13433901f5bSJerome Brunet	select REGMAP_MMIO
13533901f5bSJerome Brunet	help
13633901f5bSJerome Brunet	  Say Y or M if you want to add support for the internal DAC found
13733901f5bSJerome Brunet	  on GXL, G12 and SM1 SoC family.
1386dc4fa17SJerome Brunetendmenu
139