commit | 76072ac3e85ed9dcc483554b96cc0ea34247d978 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 10 10:37:36 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 13 16:32:49 2018 -0700 |
tree | e757add0074c0f4c193a97157abaa70e7e56ec2e | |
parent | 0d22f41f6ba0cca34b7d92764577c42f4ed676af [diff] |
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>