1
0
Fork 0

greybus: greybus_manifest.h: fix up class protocol numbers to match the spec.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
hifive-unleashed-5.1
Greg Kroah-Hartman 2014-10-20 13:27:42 +08:00
parent f012a520e1
commit 6ce3e03f71
1 changed files with 12 additions and 10 deletions

View File

@ -36,18 +36,20 @@ enum greybus_protocol {
enum greybus_class_type {
GREYBUS_CLASS_CONTROL = 0x00,
GREYBUS_CLASS_USB = 0x01,
GREYBUS_CLASS_AP = 0x01,
GREYBUS_CLASS_GPIO = 0x02,
GREYBUS_CLASS_SPI = 0x03,
GREYBUS_CLASS_I2C = 0x03,
GREYBUS_CLASS_UART = 0x04,
GREYBUS_CLASS_PWM = 0x05,
GREYBUS_CLASS_I2S = 0x06,
GREYBUS_CLASS_I2C = 0x07,
GREYBUS_CLASS_SDIO = 0x08,
GREYBUS_CLASS_HID = 0x09,
GREYBUS_CLASS_DISPLAY = 0x0a,
GREYBUS_CLASS_CAMERA = 0x0b,
GREYBUS_CLASS_SENSOR = 0x0c,
GREYBUS_CLASS_HID = 0x05,
GREYBUS_CLASS_USB = 0x06,
GREYBUS_CLASS_SDIO = 0x07,
GREYBUS_CLASS_BATTERY = 0x08,
GREYBUS_CLASS_PWM = 0x09,
GREYBUS_CLASS_I2S = 0x0a,
GREYBUS_CLASS_SPI = 0x0b,
GREYBUS_CLASS_DISPLAY = 0x0c,
GREYBUS_CLASS_CAMERA = 0x0d,
GREYBUS_CLASS_SENSOR = 0x0e,
GREYBUS_CLASS_VENDOR = 0xff,
};