Skip to content

Commit

Permalink
usb: typec: Add the Product Type VDOs to struct usb_pd_identity
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Jan 9, 2020
1 parent d48ece0 commit f6c56ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/usb/typec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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);
Expand Down

0 comments on commit f6c56ca

Please sign in to comment.