2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2008-10-03 22:57:50 +08:00
|
|
|
config SND_ATMEL_SOC
|
|
|
|
tristate "SoC Audio for the Atmel System-on-Chip"
|
2012-12-08 21:23:22 +08:00
|
|
|
depends on HAS_IOMEM
|
2008-10-03 22:57:50 +08:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to
|
|
|
|
the ATMEL SSC interface. You will also need
|
|
|
|
to select the audio interfaces to support below.
|
|
|
|
|
2015-05-26 06:04:18 +08:00
|
|
|
if SND_ATMEL_SOC
|
|
|
|
|
2012-11-28 11:46:12 +08:00
|
|
|
config SND_ATMEL_SOC_PDC
|
2020-01-30 21:05:45 +08:00
|
|
|
bool
|
2016-06-06 02:00:21 +08:00
|
|
|
depends on HAS_DMA
|
2012-11-28 11:46:12 +08:00
|
|
|
|
2012-11-28 11:46:13 +08:00
|
|
|
config SND_ATMEL_SOC_DMA
|
2020-01-30 21:05:45 +08:00
|
|
|
bool
|
2013-07-03 16:38:00 +08:00
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2012-11-28 11:46:13 +08:00
|
|
|
|
2008-10-03 22:57:50 +08:00
|
|
|
config SND_ATMEL_SOC_SSC
|
|
|
|
tristate
|
2020-01-13 21:32:42 +08:00
|
|
|
select SND_ATMEL_SOC_DMA
|
|
|
|
select SND_ATMEL_SOC_PDC
|
2019-08-25 04:26:52 +08:00
|
|
|
|
|
|
|
config SND_ATMEL_SOC_SSC_PDC
|
|
|
|
tristate "SoC PCM DAI support for AT91 SSC controller using PDC"
|
|
|
|
depends on ATMEL_SSC
|
|
|
|
select SND_ATMEL_SOC_PDC
|
|
|
|
select SND_ATMEL_SOC_SSC
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for Atmel SSC interface
|
|
|
|
in PDC mode configured using audio-graph-card in device-tree.
|
|
|
|
|
|
|
|
config SND_ATMEL_SOC_SSC_DMA
|
|
|
|
tristate "SoC PCM DAI support for AT91 SSC controller using DMA"
|
|
|
|
depends on ATMEL_SSC
|
|
|
|
select SND_ATMEL_SOC_DMA
|
|
|
|
select SND_ATMEL_SOC_SSC
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for Atmel SSC interface
|
|
|
|
in DMA mode configured using audio-graph-card in device-tree.
|
2008-10-03 22:57:50 +08:00
|
|
|
|
|
|
|
config SND_AT91_SOC_SAM9G20_WM8731
|
|
|
|
tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
|
2015-04-11 17:16:19 +08:00
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
2015-05-26 06:04:18 +08:00
|
|
|
depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
|
2015-06-11 17:06:09 +08:00
|
|
|
select SND_ATMEL_SOC_SSC_PDC
|
2008-10-03 22:57:50 +08:00
|
|
|
select SND_SOC_WM8731
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for SoC audio on WM8731-based
|
|
|
|
AT91sam9g20 evaluation board.
|
|
|
|
|
2013-07-19 17:42:57 +08:00
|
|
|
config SND_ATMEL_SOC_WM8904
|
|
|
|
tristate "Atmel ASoC driver for boards using WM8904 codec"
|
2015-04-11 17:16:19 +08:00
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
2015-05-26 06:04:18 +08:00
|
|
|
depends on ATMEL_SSC && I2C
|
2015-06-11 17:06:09 +08:00
|
|
|
select SND_ATMEL_SOC_SSC_DMA
|
2013-07-19 17:42:57 +08:00
|
|
|
select SND_SOC_WM8904
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for Atmel ASoC driver for boards using
|
|
|
|
WM8904 codec.
|
|
|
|
|
2013-07-30 18:32:03 +08:00
|
|
|
config SND_AT91_SOC_SAM9X5_WM8731
|
|
|
|
tristate "SoC Audio support for WM8731-based at91sam9x5 board"
|
2015-04-11 17:16:19 +08:00
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
2015-05-26 06:04:18 +08:00
|
|
|
depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
|
2015-06-11 17:06:09 +08:00
|
|
|
select SND_ATMEL_SOC_SSC_DMA
|
2013-07-30 18:32:03 +08:00
|
|
|
select SND_SOC_WM8731
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for audio SoC on an
|
|
|
|
at91sam9x5 based board that is using WM8731 codec.
|
2015-10-08 18:13:31 +08:00
|
|
|
|
|
|
|
config SND_ATMEL_SOC_CLASSD
|
|
|
|
tristate "Atmel ASoC driver for boards using CLASSD"
|
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
2017-12-08 22:18:53 +08:00
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2015-10-08 18:13:31 +08:00
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for Atmel ASoC driver for boards using
|
|
|
|
CLASSD.
|
2015-12-17 17:49:59 +08:00
|
|
|
|
|
|
|
config SND_ATMEL_SOC_PDMIC
|
|
|
|
tristate "Atmel ASoC driver for boards using PDMIC"
|
|
|
|
depends on OF && (ARCH_AT91 || COMPILE_TEST)
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for Atmel ASoC driver for boards using
|
|
|
|
PDMIC.
|
2016-11-16 02:38:15 +08:00
|
|
|
|
|
|
|
config SND_ATMEL_SOC_TSE850_PCM5142
|
|
|
|
tristate "ASoC driver for the Axentia TSE-850"
|
|
|
|
depends on ARCH_AT91 && OF
|
|
|
|
depends on ATMEL_SSC && I2C
|
|
|
|
select SND_ATMEL_SOC_SSC_DMA
|
|
|
|
select SND_SOC_PCM512x_I2C
|
|
|
|
help
|
|
|
|
Say Y if you want to add support for the ASoC driver for the
|
|
|
|
Axentia TSE-850 with a PCM5142 codec.
|
2018-05-25 20:34:26 +08:00
|
|
|
|
|
|
|
config SND_ATMEL_SOC_I2S
|
|
|
|
tristate "Atmel ASoC driver for boards using I2S"
|
|
|
|
depends on OF && (ARCH_AT91 || COMPILE_TEST)
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for Atmel ASoc driver for boards
|
|
|
|
using I2S.
|
2018-09-01 01:14:35 +08:00
|
|
|
|
|
|
|
config SND_SOC_MIKROE_PROTO
|
|
|
|
tristate "Support for Mikroe-PROTO board"
|
|
|
|
depends on OF
|
2018-09-26 20:59:40 +08:00
|
|
|
depends on SND_SOC_I2C_AND_SPI
|
2018-09-01 01:14:35 +08:00
|
|
|
select SND_SOC_WM8731
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for MikroElektronika PROTO Audio
|
|
|
|
Board. This board contains the WM8731 codec, which can be configured
|
|
|
|
using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
|
|
|
|
Both playback and capture are supported.
|
|
|
|
|
ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel Controller
The Inter-IC Sound Controller (I2SMCC) provides a 5-wire, bidirectional,
synchronous, digital audio link to external audio devices: I2SMCC_DIN,
I2SMCC_DOUT, I2SMCC_WS, I2SMCC_CK, and I2SMCC_MCK pins.
The I2SMCC complies with the Inter-IC Sound (I2S) bus specification and
supports a Time Division Multiplexed (TDM) interface with external
multi-channel audio codecs.
The I2SMCC consists of a receiver, a transmitter and a common clock
generator that can be enabled separately to provide Master, Slave or
Controller modes with receiver and/or transmitter active.
DMA Controller channels, separate for the receiver and for the transmitter,
allow a continuous high bit rate data transfer without processor
intervention to the following:
- Audio CODECs in Master, Slave, or Controller mode
- Stereo DAC or ADC through a dedicated I2S serial interface
- Multi-channel or multiple stereo DACs or ADCs, using the TDM format
This IP is embedded in Microchip's new sam9x60 SoC.
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-05 19:26:45 +08:00
|
|
|
config SND_MCHP_SOC_I2S_MCC
|
|
|
|
tristate "Microchip ASoC driver for boards using I2S MCC"
|
|
|
|
depends on OF && (ARCH_AT91 || COMPILE_TEST)
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for I2S Multi-Channel ASoC
|
|
|
|
driver on the following Microchip platforms:
|
|
|
|
- sam9x60
|
|
|
|
|
|
|
|
The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
|
|
|
|
and supports a Time Division Multiplexed (TDM) interface with
|
|
|
|
external multi-channel audio codecs.
|
|
|
|
|
2015-05-26 06:04:18 +08:00
|
|
|
endif
|