Commit 6ce3e03f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent f012a520
...@@ -36,18 +36,20 @@ enum greybus_protocol { ...@@ -36,18 +36,20 @@ enum greybus_protocol {
enum greybus_class_type { enum greybus_class_type {
GREYBUS_CLASS_CONTROL = 0x00, GREYBUS_CLASS_CONTROL = 0x00,
GREYBUS_CLASS_USB = 0x01, GREYBUS_CLASS_AP = 0x01,
GREYBUS_CLASS_GPIO = 0x02, GREYBUS_CLASS_GPIO = 0x02,
GREYBUS_CLASS_SPI = 0x03, GREYBUS_CLASS_I2C = 0x03,
GREYBUS_CLASS_UART = 0x04, GREYBUS_CLASS_UART = 0x04,
GREYBUS_CLASS_PWM = 0x05, GREYBUS_CLASS_HID = 0x05,
GREYBUS_CLASS_I2S = 0x06, GREYBUS_CLASS_USB = 0x06,
GREYBUS_CLASS_I2C = 0x07, GREYBUS_CLASS_SDIO = 0x07,
GREYBUS_CLASS_SDIO = 0x08, GREYBUS_CLASS_BATTERY = 0x08,
GREYBUS_CLASS_HID = 0x09, GREYBUS_CLASS_PWM = 0x09,
GREYBUS_CLASS_DISPLAY = 0x0a, GREYBUS_CLASS_I2S = 0x0a,
GREYBUS_CLASS_CAMERA = 0x0b, GREYBUS_CLASS_SPI = 0x0b,
GREYBUS_CLASS_SENSOR = 0x0c, GREYBUS_CLASS_DISPLAY = 0x0c,
GREYBUS_CLASS_CAMERA = 0x0d,
GREYBUS_CLASS_SENSOR = 0x0e,
GREYBUS_CLASS_VENDOR = 0xff, GREYBUS_CLASS_VENDOR = 0xff,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment