xref: /linux/sound/soc/atmel/Kconfig (revision b87d37d0231fc731a04b599b7c05427ceffdf9f6)
16c742509SSedji Gaouaouconfig SND_ATMEL_SOC
26c742509SSedji Gaouaou	tristate "SoC Audio for the Atmel System-on-Chip"
3153f5a18SJoachim Eastwood	depends on HAS_IOMEM
46c742509SSedji Gaouaou	help
56c742509SSedji Gaouaou	  Say Y or M if you want to add support for codecs attached to
66c742509SSedji Gaouaou	  the ATMEL SSC interface. You will also need
76c742509SSedji Gaouaou	  to select the audio interfaces to support below.
86c742509SSedji Gaouaou
9fb67cdfbSAlexandre Belloniif SND_ATMEL_SOC
10fb67cdfbSAlexandre Belloni
1192dfa619SBo Shenconfig SND_ATMEL_SOC_PDC
129cf08a65SAlexandre Belloni	tristate
138d7d1100SSudip Mukherjee	depends on HAS_DMA
14061981ffSAlexandre Belloni	default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
15061981ffSAlexandre Belloni	default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
16061981ffSAlexandre Belloni
17061981ffSAlexandre Belloniconfig SND_ATMEL_SOC_SSC_PDC
18061981ffSAlexandre Belloni	tristate
1992dfa619SBo Shen
203951e4aaSBo Shenconfig SND_ATMEL_SOC_DMA
219cf08a65SAlexandre Belloni	tristate
2295e0e07eSBo Shen	select SND_SOC_GENERIC_DMAENGINE_PCM
23061981ffSAlexandre Belloni	default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
24061981ffSAlexandre Belloni	default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
25061981ffSAlexandre Belloni
26061981ffSAlexandre Belloniconfig SND_ATMEL_SOC_SSC_DMA
27061981ffSAlexandre Belloni	tristate
283951e4aaSBo Shen
296c742509SSedji Gaouaouconfig SND_ATMEL_SOC_SSC
306c742509SSedji Gaouaou	tristate
31061981ffSAlexandre Belloni	default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
32061981ffSAlexandre Belloni	default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
336c742509SSedji Gaouaou
346c742509SSedji Gaouaouconfig SND_AT91_SOC_SAM9G20_WM8731
356c742509SSedji Gaouaou	tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
36ada602b3SLars-Peter Clausen	depends on ARCH_AT91 || COMPILE_TEST
37fb67cdfbSAlexandre Belloni	depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
38061981ffSAlexandre Belloni	select SND_ATMEL_SOC_SSC_PDC
396c742509SSedji Gaouaou	select SND_SOC_WM8731
406c742509SSedji Gaouaou	help
416c742509SSedji Gaouaou	  Say Y if you want to add support for SoC audio on WM8731-based
426c742509SSedji Gaouaou	  AT91sam9g20 evaluation board.
436c742509SSedji Gaouaou
4452f19b14SBo Shenconfig SND_ATMEL_SOC_WM8904
4552f19b14SBo Shen	tristate "Atmel ASoC driver for boards using WM8904 codec"
46ada602b3SLars-Peter Clausen	depends on ARCH_AT91 || COMPILE_TEST
47fb67cdfbSAlexandre Belloni	depends on ATMEL_SSC && I2C
48061981ffSAlexandre Belloni	select SND_ATMEL_SOC_SSC_DMA
4952f19b14SBo Shen	select SND_SOC_WM8904
5052f19b14SBo Shen	help
5152f19b14SBo Shen	  Say Y if you want to add support for Atmel ASoC driver for boards using
5252f19b14SBo Shen	  WM8904 codec.
5352f19b14SBo Shen
54fdbcb3cbSNicolas Ferreconfig SND_AT91_SOC_SAM9X5_WM8731
55fdbcb3cbSNicolas Ferre	tristate "SoC Audio support for WM8731-based at91sam9x5 board"
56ada602b3SLars-Peter Clausen	depends on ARCH_AT91 || COMPILE_TEST
57fb67cdfbSAlexandre Belloni	depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
58061981ffSAlexandre Belloni	select SND_ATMEL_SOC_SSC_DMA
59fdbcb3cbSNicolas Ferre	select SND_SOC_WM8731
60fdbcb3cbSNicolas Ferre	help
61fdbcb3cbSNicolas Ferre	  Say Y if you want to add support for audio SoC on an
62fdbcb3cbSNicolas Ferre	  at91sam9x5 based board that is using WM8731 codec.
63e0a25b6dSSongjun Wu
64e0a25b6dSSongjun Wuconfig SND_ATMEL_SOC_CLASSD
65e0a25b6dSSongjun Wu	tristate "Atmel ASoC driver for boards using CLASSD"
66e0a25b6dSSongjun Wu	depends on ARCH_AT91 || COMPILE_TEST
670f0be40bSAlexandre Belloni	select SND_SOC_GENERIC_DMAENGINE_PCM
68e0a25b6dSSongjun Wu	select REGMAP_MMIO
69e0a25b6dSSongjun Wu	help
70e0a25b6dSSongjun Wu	  Say Y if you want to add support for Atmel ASoC driver for boards using
71e0a25b6dSSongjun Wu	  CLASSD.
72a7664ab2SSongjun Wu
73a7664ab2SSongjun Wuconfig SND_ATMEL_SOC_PDMIC
74a7664ab2SSongjun Wu	tristate "Atmel ASoC driver for boards using PDMIC"
75a7664ab2SSongjun Wu	depends on OF && (ARCH_AT91 || COMPILE_TEST)
76a7664ab2SSongjun Wu	select SND_SOC_GENERIC_DMAENGINE_PCM
77a7664ab2SSongjun Wu	select REGMAP_MMIO
78a7664ab2SSongjun Wu	help
79a7664ab2SSongjun Wu	  Say Y if you want to add support for Atmel ASoC driver for boards using
80a7664ab2SSongjun Wu	  PDMIC.
81aa431124SPeter Rosin
82aa431124SPeter Rosinconfig SND_ATMEL_SOC_TSE850_PCM5142
83aa431124SPeter Rosin	tristate "ASoC driver for the Axentia TSE-850"
84aa431124SPeter Rosin	depends on ARCH_AT91 && OF
85aa431124SPeter Rosin	depends on ATMEL_SSC && I2C
86aa431124SPeter Rosin	select SND_ATMEL_SOC_SSC_DMA
87aa431124SPeter Rosin	select SND_SOC_PCM512x_I2C
88aa431124SPeter Rosin	help
89aa431124SPeter Rosin	  Say Y if you want to add support for the ASoC driver for the
90aa431124SPeter Rosin	  Axentia TSE-850 with a PCM5142 codec.
91b543e467SCyrille Pitchen
92b543e467SCyrille Pitchenconfig SND_ATMEL_SOC_I2S
93b543e467SCyrille Pitchen	tristate "Atmel ASoC driver for boards using I2S"
94b543e467SCyrille Pitchen	depends on OF && (ARCH_AT91 || COMPILE_TEST)
95b543e467SCyrille Pitchen	select SND_SOC_GENERIC_DMAENGINE_PCM
96b543e467SCyrille Pitchen	select REGMAP_MMIO
97b543e467SCyrille Pitchen	help
98b543e467SCyrille Pitchen	  Say Y or M if you want to add support for Atmel ASoc driver for boards
99b543e467SCyrille Pitchen	  using I2S.
100a45f8853SCodrin Ciubotariu
101a45f8853SCodrin Ciubotariuconfig SND_SOC_MIKROE_PROTO
102a45f8853SCodrin Ciubotariu	tristate "Support for Mikroe-PROTO board"
103a45f8853SCodrin Ciubotariu	depends on OF
10453c156abSArnd Bergmann	depends on SND_SOC_I2C_AND_SPI
105a45f8853SCodrin Ciubotariu	select SND_SOC_WM8731
106a45f8853SCodrin Ciubotariu	help
107a45f8853SCodrin Ciubotariu	  Say Y or M if you want to add support for MikroElektronika PROTO Audio
108a45f8853SCodrin Ciubotariu	  Board. This board contains the WM8731 codec, which can be configured
109a45f8853SCodrin Ciubotariu	  using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
110a45f8853SCodrin Ciubotariu	  Both playback and capture are supported.
111a45f8853SCodrin Ciubotariu
112*b87d37d0SCodrin Ciubotariuconfig SND_MCHP_SOC_I2S_MCC
113*b87d37d0SCodrin Ciubotariu	tristate "Microchip ASoC driver for boards using I2S MCC"
114*b87d37d0SCodrin Ciubotariu	depends on OF && (ARCH_AT91 || COMPILE_TEST)
115*b87d37d0SCodrin Ciubotariu	select SND_SOC_GENERIC_DMAENGINE_PCM
116*b87d37d0SCodrin Ciubotariu	select REGMAP_MMIO
117*b87d37d0SCodrin Ciubotariu	help
118*b87d37d0SCodrin Ciubotariu	  Say Y or M if you want to add support for I2S Multi-Channel ASoC
119*b87d37d0SCodrin Ciubotariu	  driver on the following Microchip platforms:
120*b87d37d0SCodrin Ciubotariu	  - sam9x60
121*b87d37d0SCodrin Ciubotariu
122*b87d37d0SCodrin Ciubotariu	  The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
123*b87d37d0SCodrin Ciubotariu	  and supports a Time Division Multiplexed (TDM) interface with
124*b87d37d0SCodrin Ciubotariu	  external multi-channel audio codecs.
125*b87d37d0SCodrin Ciubotariu
126fb67cdfbSAlexandre Belloniendif
127