xref: /openbmc/linux/sound/soc/au1x/Kconfig (revision 9dc15f81)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24a161d23SManuel Lauss##
3809f36c6SManuel Lauss## Au1200/Au1550/Au1300 PSC + DBDMA
44a161d23SManuel Lauss##
54a161d23SManuel Laussconfig SND_SOC_AU1XPSC
6809f36c6SManuel Lauss	tristate "SoC Audio for Au12xx/Au13xx/Au1550"
737663860SManuel Lauss	depends on MIPS_ALCHEMY
84a161d23SManuel Lauss	help
94a161d23SManuel Lauss	  This option enables support for the Programmable Serial
104a161d23SManuel Lauss	  Controllers in AC97 and I2S mode, and the Descriptor-Based DMA
11809f36c6SManuel Lauss	  Controller (DBDMA) as found on the Au12xx/Au13xx/Au1550 SoC.
124a161d23SManuel Lauss
134a161d23SManuel Laussconfig SND_SOC_AU1XPSC_I2S
144a161d23SManuel Lauss	tristate
154a161d23SManuel Lauss
164a161d23SManuel Laussconfig SND_SOC_AU1XPSC_AC97
174a161d23SManuel Lauss	tristate
184a161d23SManuel Lauss	select AC97_BUS
194a161d23SManuel Lauss	select SND_AC97_CODEC
204a161d23SManuel Lauss	select SND_SOC_AC97_BUS
214a161d23SManuel Lauss
22b3c70c9eSManuel Lauss##
23b3c70c9eSManuel Lauss## Au1000/1500/1100 DMA + AC97C/I2SC
24b3c70c9eSManuel Lauss##
25b3c70c9eSManuel Laussconfig SND_SOC_AU1XAUDIO
26b3c70c9eSManuel Lauss	tristate "SoC Audio for Au1000/Au1500/Au1100"
27b3c70c9eSManuel Lauss	depends on MIPS_ALCHEMY
28b3c70c9eSManuel Lauss	help
29b3c70c9eSManuel Lauss	  This is a driver set for the AC97 unit and the
30b3c70c9eSManuel Lauss	  old DMA controller as found on the Au1000/Au1500/Au1100 chips.
31b3c70c9eSManuel Lauss
32b3c70c9eSManuel Laussconfig SND_SOC_AU1XAC97C
33b3c70c9eSManuel Lauss	tristate
34b3c70c9eSManuel Lauss	select AC97_BUS
35b3c70c9eSManuel Lauss	select SND_AC97_CODEC
36b3c70c9eSManuel Lauss	select SND_SOC_AC97_BUS
37b3c70c9eSManuel Lauss
38b3c70c9eSManuel Laussconfig SND_SOC_AU1XI2SC
39b3c70c9eSManuel Lauss	tristate
40b3c70c9eSManuel Lauss
414a161d23SManuel Lauss
424a161d23SManuel Lauss##
434a161d23SManuel Lauss## Boards
444a161d23SManuel Lauss##
45b2ce305dSManuel Laussconfig SND_SOC_DB1000
46b2ce305dSManuel Lauss	tristate "DB1000 Audio support"
47b2ce305dSManuel Lauss	depends on SND_SOC_AU1XAUDIO
48b2ce305dSManuel Lauss	select SND_SOC_AU1XAC97C
49b2ce305dSManuel Lauss	select SND_SOC_AC97_CODEC
50b2ce305dSManuel Lauss	help
51b2ce305dSManuel Lauss	  Select this option to enable AC97 audio on the early DB1x00 series
52b2ce305dSManuel Lauss	  of boards (DB1000/DB1500/DB1100).
53b2ce305dSManuel Lauss
5405ae3231SManuel Laussconfig SND_SOC_DB1200
55f869d42eSManuel Lauss	tristate "DB1200/DB1300/DB1550 Audio support"
564a161d23SManuel Lauss	depends on SND_SOC_AU1XPSC
574a161d23SManuel Lauss	select SND_SOC_AU1XPSC_AC97
584a161d23SManuel Lauss	select SND_SOC_AC97_CODEC
5964cd04d0SManuel Lauss	select SND_SOC_WM9712
6005ae3231SManuel Lauss	select SND_SOC_AU1XPSC_I2S
61*9dc15f81SMark Brown	select SND_SOC_WM8731_I2C
624a161d23SManuel Lauss	help
6364cd04d0SManuel Lauss	  Select this option to enable audio (AC97 and I2S) on the
64f869d42eSManuel Lauss	  Alchemy/AMD/RMI/NetLogic Db1200, Db1550 and Db1300 evaluation boards.
6564cd04d0SManuel Lauss	  If you need Db1300 touchscreen support, you definitely want to say Y.
66