aboutsummaryrefslogtreecommitdiff
path: root/drivers/sound
diff options
context:
space:
mode:
authorSimon Glass2018-12-10 10:37:31 -0700
committerSimon Glass2018-12-13 16:32:49 -0700
commit2a0495724133058ab7c6aa1e8dc9433344d45231 (patch)
tree06bf68abd6ae4702384419ffc3472b01de3f010d /drivers/sound
parent51b06dc40bce0768c77a23fcfc4a5ed5537aa2bd (diff)
dm: sound: Create an option to use driver model for sound
The U-Boot sound system provides basic support for beeping. At present it does not use driver model, but it needs to be converted. Add an option to enable driver model for sound. For now it is not connected to anything. Future work will add drivers which use this option. It will then be removed once everything is converted. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound')
-rw-r--r--drivers/sound/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig
index 5de86c05c60..93f6c36af32 100644
--- a/drivers/sound/Kconfig
+++ b/drivers/sound/Kconfig
@@ -12,6 +12,12 @@ config SOUND
audio codecs are called from the sound-i2s code. This could be
converted to driver model.
+config DM_SOUND
+ bool "Use driver model for sound"
+ help
+ Enable this option to use driver model for sound devices. This is a
+ migration option and will be removed.
+
config I2S
bool "Enable I2S support"
depends on SOUND