aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb/typec.h
diff options
context:
space:
mode:
authorGravatar Heikki Krogerus <heikki.krogerus@linux.intel.com> 2019-12-30 17:26:06 +0300
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-01-09 10:49:29 +0100
commitf6c56ca91b92088cf2f4075c1aa7c57ea89f7327 (patch)
treee2a3e629e74f3acd4d2924934c82abbe4d4e4689 /include/linux/usb/typec.h
parentusb: pd: Add definition for DFP and UFP1 VDOs (diff)
downloadlinux-f6c56ca91b92088cf2f4075c1aa7c57ea89f7327.tar.gz
linux-f6c56ca91b92088cf2f4075c1aa7c57ea89f7327.tar.bz2
linux-f6c56ca91b92088cf2f4075c1aa7c57ea89f7327.zip
usb: typec: Add the Product Type VDOs to struct usb_pd_identity
Discover Identity command response has also 3 product type specific VDOs on top of ID Header VDO, Cert Stat VDO and Product VDO. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20191230142611.24921-11-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/typec.h')
-rw-r--r--include/linux/usb/typec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h
index d95ea0d398b8..47595e96070e 100644
--- a/include/linux/usb/typec.h
+++ b/include/linux/usb/typec.h
@@ -74,6 +74,7 @@ enum typec_orientation {
* @id_header: ID Header VDO
* @cert_stat: Cert Stat VDO
* @product: Product VDO
+ * @vdo: Product Type Specific VDOs
*
* USB power delivery Discover Identity command response data.
*
@@ -84,6 +85,7 @@ struct usb_pd_identity {
u32 id_header;
u32 cert_stat;
u32 product;
+ u32 vdo[3];
};
int typec_partner_set_identity(struct typec_partner *partner);