summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorDavid Lin <dtwlin@google.com>2016-07-07 22:07:00 -0500
committerAlex Elder <elder@linaro.org>2016-07-08 14:56:28 -0500
commit30ea26bdd403396c62d6c9fa26477ca1f7af5676 (patch)
tree3cc7e4a5b537d6795bb52678457805216e8e6f54 /drivers/staging/greybus/greybus_protocols.h
parentf53be0eaf0603324ea90eb352df0ffa18dde646a (diff)
downloadop-kernel-dev-30ea26bdd403396c62d6c9fa26477ca1f7af5676.zip
op-kernel-dev-30ea26bdd403396c62d6c9fa26477ca1f7af5676.tar.gz
greybus: control: add interface deactivate prepare operation
Add the AP implementation for the Greybus Control Interface Deactivate Prepare Operation. AP uses this Operation during the Power Down transition to request the bridge to power down after it detects a subsequent UniPro link hibernation. Signed-off-by: David Lin <dtwlin@google.com> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index cd64a99..10209ae 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -131,6 +131,7 @@ struct gb_protocol_version_response {
#define GB_CONTROL_TYPE_BUNDLE_DEACTIVATE 0x11
#define GB_CONTROL_TYPE_BUNDLE_ACTIVATE 0x12
#define GB_CONTROL_TYPE_INTF_SUSPEND_PREPARE 0x13
+#define GB_CONTROL_TYPE_INTF_DEACTIVATE_PREPARE 0x14
struct gb_control_version_request {
__u8 major;
OpenPOWER on IntegriCloud