diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-10 10:37:34 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-13 16:32:49 -0700 |
commit | e96fa6c91177d0aa81119d1d24cc0aa2dd663581 (patch) | |
tree | 333d54a1f9349c5e238f836675d49dbe5b59bc4b /arch/sandbox/dts/test.dts | |
parent | ce6d99a056ebc9ad329521ca3660f6cb298a7666 (diff) | |
download | u-boot-e96fa6c91177d0aa81119d1d24cc0aa2dd663581.tar.gz |
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 'arch/sandbox/dts/test.dts')
-rw-r--r-- | arch/sandbox/dts/test.dts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 9ced5beee8..5c2910c583 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -47,7 +47,7 @@ #sound-dai-cells = <1>; }; - cros_ec: cros-ec { + cros_ec: cros-ec { reg = <0 0>; compatible = "google,cros-ec-sandbox"; @@ -378,6 +378,11 @@ u-boot,dm-pre-reloc; }; + i2s: i2s { + compatible = "sandbox,i2s"; + #sound-dai-cells = <1>; + }; + misc-test { compatible = "sandbox,misc_sandbox"; }; |