summaryrefslogtreecommitdiff
path: root/drivers/sound/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-27 20:15:21 -0700
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2019-02-01 16:59:10 +0100
commit2665f091158a37bea7db387fce379eecb04a1d71 (patch)
tree15bda1e4f4c0377f39c92fc96c412172ed0bcc48 /drivers/sound/Kconfig
parent3dbfe5ae614a561c3e0c2ccddd7cae0d4cd8f2c8 (diff)
rockchip: Add an I2S driver
Add a driver for I2S which allows audio data to be sent from the SoC to the audio codec. The sample rate and other settings are hard-coded for now as there is no suitable device-tree binding available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/sound/Kconfig')
-rw-r--r--drivers/sound/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig
index c0d97cca33..22e379681d 100644
--- a/drivers/sound/Kconfig
+++ b/drivers/sound/Kconfig
@@ -21,6 +21,15 @@ config I2S
I2S. It calls either of the two supported codecs (no use is made
of driver model at present).
+config I2S_ROCKCHIP
+ bool "Enable I2S support for Rockchip SoCs"
+ depends on I2S
+ help
+ Rockchip SoCs support an I2S interface for sending audio data to an
+ audio codec. This option enables support for this, using one of the
+ available audio codec drivers. This driver does not make use of
+ DMA, but writes each word directly to the hardware.
+
config I2S_SAMSUNG
bool "Enable I2C support for Samsung SoCs"
depends on SOUND