diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-10 20:37:36 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-14 02:32:49 +0300 |
commit | d4901898654b664c41d8a03afc0e0fbf531b5812 (patch) | |
tree | e757add0074c0f4c193a97157abaa70e7e56ec2e /drivers/sound/Makefile | |
parent | e625b68b04a400ba377ec0a5b958bde0bc6244ff (diff) | |
download | u-boot-d4901898654b664c41d8a03afc0e0fbf531b5812.tar.xz |
dm: sound: Create a uclass for sound
The sound driver pulls together the audio codec and i2s drivers in order
to actually make sounds. It supports setup() and play() methods. The
sound_find_codec_i2s() function allows locating the linked codec and i2s
devices. They can be referred to from uclass-private data.
Add a uclass and a test for sound.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/Makefile')
-rw-r--r-- | drivers/sound/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sound/Makefile b/drivers/sound/Makefile index 4aced9d22b..70d32c6d6f 100644 --- a/drivers/sound/Makefile +++ b/drivers/sound/Makefile @@ -7,6 +7,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_DM_SOUND) += sound-uclass.o obj-$(CONFIG_I2S_SAMSUNG) += samsung-i2s.o obj-$(CONFIG_SOUND_SANDBOX) += sandbox.o obj-$(CONFIG_SOUND_WM8994) += wm8994.o |