summaryrefslogtreecommitdiffstats
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-09-08 11:15:11 -0600
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:39 -0700
commit34ab37eef5a5f8023abc657ab38f7b9fe11c38b3 (patch)
tree3a8917301e9cffb9286c343a04f45316d4d164da /include/dm/uclass-id.h
parent2b24e09c66480f3723b137f434a6c3b0db764817 (diff)
downloadblackbird-obmc-uboot-34ab37eef5a5f8023abc657ab38f7b9fe11c38b3.tar.gz
blackbird-obmc-uboot-34ab37eef5a5f8023abc657ab38f7b9fe11c38b3.zip
dm: usb: Add support for USB keyboards with driver model
Switch USB keyboards over to use driver model instead of scanning with the horrible usb_get_dev_index() function. This involves creating a new uclass for keyboards, although so far there is no API. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 327de3486b..27fa0b68db 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -37,6 +37,7 @@ enum uclass_id {
UCLASS_I2C_EEPROM, /* I2C EEPROM device */
UCLASS_I2C_GENERIC, /* Generic I2C device */
UCLASS_I2C_MUX, /* I2C multiplexer */
+ UCLASS_KEYBOARD, /* Keyboard input device */
UCLASS_LED, /* Light-emitting diode (LED) */
UCLASS_LPC, /* x86 'low pin count' interface */
UCLASS_MASS_STORAGE, /* Mass storage device */
OpenPOWER on IntegriCloud