summaryrefslogtreecommitdiff
path: root/drivers/sound/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-10 10:37:34 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commite96fa6c91177d0aa81119d1d24cc0aa2dd663581 (patch)
tree333d54a1f9349c5e238f836675d49dbe5b59bc4b /drivers/sound/Makefile
parentce6d99a056ebc9ad329521ca3660f6cb298a7666 (diff)
dm: sound: Create a uclass for i2s
The i2s bus is commonly used with audio codecs. It provides a way to stream digital data sychronously in both directions. U-Boot only supports audio output, so this uclass is very simple, with a single tx_data() method. Add a uclass and a test for i2s. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/Makefile')
-rw-r--r--drivers/sound/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sound/Makefile b/drivers/sound/Makefile
index ae5fabed84..4aced9d22b 100644
--- a/drivers/sound/Makefile
+++ b/drivers/sound/Makefile
@@ -5,6 +5,7 @@
obj-$(CONFIG_SOUND) += sound.o
obj-$(CONFIG_DM_SOUND) += codec-uclass.o
+obj-$(CONFIG_DM_SOUND) += i2s-uclass.o
obj-$(CONFIG_I2S) += sound-i2s.o
obj-$(CONFIG_I2S_SAMSUNG) += samsung-i2s.o
obj-$(CONFIG_SOUND_SANDBOX) += sandbox.o