mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 09:56:55 +07:00
0aa2a15a7b
Allow the jz4740 audio drivers to be build when CONFIG_COMPILE_TEST is selected. This should improve the build test coverage. There is one small piece of platform dependent code in the jz4740-i2s driver. It uses the DMA request type constants which are defined in a platform specific header. We can solve this by moving them from the platform specific header to the I2S driver. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Mark Brown <broonie@linaro.org>
30 lines
847 B
Plaintext
30 lines
847 B
Plaintext
config SND_JZ4740_SOC
|
|
tristate "SoC Audio for Ingenic JZ4740 SoC"
|
|
depends on MACH_JZ4740 || COMPILE_TEST
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for codecs attached to
|
|
the JZ4740 I2S interface. You will also need to select the audio
|
|
interfaces to support below.
|
|
|
|
if SND_JZ4740_SOC
|
|
|
|
config SND_JZ4740_SOC_I2S
|
|
tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
|
|
depends on HAS_IOMEM
|
|
help
|
|
Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740
|
|
based boards.
|
|
|
|
config SND_JZ4740_SOC_QI_LB60
|
|
tristate "SoC Audio support for Qi LB60"
|
|
depends on HAS_IOMEM
|
|
depends on JZ4740_QI_LB60 || COMPILE_TEST
|
|
select SND_JZ4740_SOC_I2S
|
|
select SND_SOC_JZ4740_CODEC
|
|
help
|
|
Say Y if you want to add support for ASoC audio on the Qi LB60 board
|
|
a.k.a Qi Ben NanoNote.
|
|
|
|
endif
|