diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-08 15:50:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-19 11:00:44 -0700 |
commit | e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 (patch) | |
tree | 9f9c3afc47920d07e38552ec84eb38d7de92db36 /drivers/staging/greybus/greybus_manifest.h | |
parent | 5bd5f00c30fa8be047e7905739dcf6ff689718c4 (diff) | |
download | linux-e806c7fb8e9bae87fc23958c3789f2c2f96f54a4.tar.bz2 |
greybus: raw: add raw greybus kernel driver
This adds a driver that implements the greybus Raw protocol as
specified.
It preserves the message boundries by only allowing a read to receive
a "full" message, and any write() call also is passed in a single
greybus request.
Totally untested, given that we have no raw firmware or gbsim code yet.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/greybus_manifest.h')
-rw-r--r-- | drivers/staging/greybus/greybus_manifest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h index ce15e1a9807a..076d7114cb4e 100644 --- a/drivers/staging/greybus/greybus_manifest.h +++ b/drivers/staging/greybus/greybus_manifest.h @@ -43,6 +43,7 @@ enum greybus_protocol { GREYBUS_PROTOCOL_I2S_RECEIVER = 0x12, GREYBUS_PROTOCOL_I2S_TRANSMITTER = 0x13, /* ... */ + GREYBUS_PROTOCOL_RAW = 0xfe, GREYBUS_PROTOCOL_VENDOR = 0xff, }; |