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 /include/dm/uclass-id.h | |
parent | ce6d99a056ebc9ad329521ca3660f6cb298a7666 (diff) | |
download | u-boot-e96fa6c91177d0aa81119d1d24cc0aa2dd663581.tar.gz u-boot-e96fa6c91177d0aa81119d1d24cc0aa2dd663581.tar.xz u-boot-e96fa6c91177d0aa81119d1d24cc0aa2dd663581.zip |
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 'include/dm/uclass-id.h')
-rw-r--r-- | include/dm/uclass-id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index c3c18356ab..1dffb66932 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-id.h @@ -49,6 +49,7 @@ enum uclass_id { UCLASS_I2C_EEPROM, /* I2C EEPROM device */ UCLASS_I2C_GENERIC, /* Generic I2C device */ UCLASS_I2C_MUX, /* I2C multiplexer */ + UCLASS_I2S, /* I2S bus */ UCLASS_IDE, /* IDE device */ UCLASS_IRQ, /* Interrupt controller */ UCLASS_KEYBOARD, /* Keyboard input device */ |