1# SPDX-License-Identifier: GPL-2.0-only
2##
3## Au1200/Au1550/Au1300 PSC + DBDMA
4##
5config SND_SOC_AU1XPSC
6	tristate "SoC Audio for Au12xx/Au13xx/Au1550"
7	depends on MIPS_ALCHEMY
8	help
9	  This option enables support for the Programmable Serial
10	  Controllers in AC97 and I2S mode, and the Descriptor-Based DMA
11	  Controller (DBDMA) as found on the Au12xx/Au13xx/Au1550 SoC.
12
13config SND_SOC_AU1XPSC_I2S
14	tristate
15
16config SND_SOC_AU1XPSC_AC97
17	tristate
18	select AC97_BUS
19	select SND_AC97_CODEC
20	select SND_SOC_AC97_BUS
21
22##
23## Au1000/1500/1100 DMA + AC97C/I2SC
24##
25config SND_SOC_AU1XAUDIO
26	tristate "SoC Audio for Au1000/Au1500/Au1100"
27	depends on MIPS_ALCHEMY
28	help
29	  This is a driver set for the AC97 unit and the
30	  old DMA controller as found on the Au1000/Au1500/Au1100 chips.
31
32config SND_SOC_AU1XAC97C
33	tristate
34	select AC97_BUS
35	select SND_AC97_CODEC
36	select SND_SOC_AC97_BUS
37
38config SND_SOC_AU1XI2SC
39	tristate
40
41
42##
43## Boards
44##
45config SND_SOC_DB1000
46	tristate "DB1000 Audio support"
47	depends on SND_SOC_AU1XAUDIO
48	select SND_SOC_AU1XAC97C
49	select SND_SOC_AC97_CODEC
50	help
51	  Select this option to enable AC97 audio on the early DB1x00 series
52	  of boards (DB1000/DB1500/DB1100).
53
54config SND_SOC_DB1200
55	tristate "DB1200/DB1300/DB1550 Audio support"
56	depends on SND_SOC_AU1XPSC
57	select SND_SOC_AU1XPSC_AC97
58	select SND_SOC_AC97_CODEC
59	select SND_SOC_WM9712
60	select SND_SOC_AU1XPSC_I2S
61	select SND_SOC_WM8731_I2C
62	help
63	  Select this option to enable audio (AC97 and I2S) on the
64	  Alchemy/AMD/RMI/NetLogic Db1200, Db1550 and Db1300 evaluation boards.
65	  If you need Db1300 touchscreen support, you definitely want to say Y.
66