Commit f6c56ca9 authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman

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: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20191230142611.24921-11-heikki.krogerus@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d48ece0b
...@@ -74,6 +74,7 @@ enum typec_orientation { ...@@ -74,6 +74,7 @@ enum typec_orientation {
* @id_header: ID Header VDO * @id_header: ID Header VDO
* @cert_stat: Cert Stat VDO * @cert_stat: Cert Stat VDO
* @product: Product VDO * @product: Product VDO
* @vdo: Product Type Specific VDOs
* *
* USB power delivery Discover Identity command response data. * USB power delivery Discover Identity command response data.
* *
...@@ -84,6 +85,7 @@ struct usb_pd_identity { ...@@ -84,6 +85,7 @@ struct usb_pd_identity {
u32 id_header; u32 id_header;
u32 cert_stat; u32 cert_stat;
u32 product; u32 product;
u32 vdo[3];
}; };
int typec_partner_set_identity(struct typec_partner *partner); int typec_partner_set_identity(struct typec_partner *partner);
......
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