mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-10 05:26:50 +07:00
eaae2ea735
The driver is used for Rockchip rk3288-based boards using a configurable analog output (can be an headphone) and the built-in HDMI audio output that is part of the RK3288 SoCs and use the Alsa HDMI codec driver. For some rk3288-based boards the analog output and the hdmi audio are plugged on the same i2s line, so we have to do the same in the driver by using a DAI link CPU to multicodecs. This configuration can be found for example on the Radxa Rock2 or the Firefly-RK3288. This commit is based on the initial work that was done by Sjoerd Simons <sjoerd.simons@collabora.com> with some improvements. Signed-off-by: Romain Perier <romain.perier@collabora.com> Signed-off-by: Mark Brown <broonie@kernel.org>
65 lines
2.3 KiB
Plaintext
65 lines
2.3 KiB
Plaintext
config SND_SOC_ROCKCHIP
|
|
tristate "ASoC support for Rockchip"
|
|
depends on COMPILE_TEST || ARCH_ROCKCHIP
|
|
help
|
|
Say Y or M if you want to add support for codecs attached to
|
|
the Rockchip SoCs' Audio interfaces. You will also need to
|
|
select the audio interfaces to support below.
|
|
|
|
config SND_SOC_ROCKCHIP_I2S
|
|
tristate "Rockchip I2S Device Driver"
|
|
depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for I2S driver for
|
|
Rockchip I2S device. The device supports upto maximum of
|
|
8 channels each for play and record.
|
|
|
|
config SND_SOC_ROCKCHIP_SPDIF
|
|
tristate "Rockchip SPDIF Device Driver"
|
|
depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for SPDIF driver for
|
|
Rockchip SPDIF transceiver device.
|
|
|
|
config SND_SOC_ROCKCHIP_MAX98090
|
|
tristate "ASoC support for Rockchip boards using a MAX98090 codec"
|
|
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
|
|
select SND_SOC_ROCKCHIP_I2S
|
|
select SND_SOC_MAX98090
|
|
select SND_SOC_TS3A227E
|
|
help
|
|
Say Y or M here if you want to add support for SoC audio on Rockchip
|
|
boards using the MAX98090 codec, such as Veyron.
|
|
|
|
config SND_SOC_ROCKCHIP_RT5645
|
|
tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
|
|
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
|
|
select SND_SOC_ROCKCHIP_I2S
|
|
select SND_SOC_RT5645
|
|
help
|
|
Say Y or M here if you want to add support for SoC audio on Rockchip
|
|
boards using the RT5645/RT5650 codec, such as Veyron.
|
|
|
|
config SND_SOC_RK3288_HDMI_ANALOG
|
|
tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
|
|
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
|
|
select SND_SOC_ROCKCHIP_I2S
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
Say Y or M here if you want to add support for SoC audio on Rockchip
|
|
RK3288 boards using an analog output and the built-in HDMI audio.
|
|
|
|
config SND_SOC_RK3399_GRU_SOUND
|
|
tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
|
|
depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
|
|
select SND_SOC_ROCKCHIP_I2S
|
|
select SND_SOC_MAX98357A
|
|
select SND_SOC_RT5514
|
|
select SND_SOC_DA7219
|
|
select SND_SOC_RT5514_SPI
|
|
help
|
|
Say Y or M here if you want to add support multiple codecs for SoC
|
|
audio on Rockchip RK3399 GRU boards.
|