usb: typec: tcpm: Introduce snk_vdo_v1 for SVDM version 1.0
authorKyle Tso <kyletso@google.com>
Tue, 1 Jun 2021 12:31:50 +0000 (20:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Jun 2021 09:43:01 +0000 (11:43 +0200)
commit7ac505103572548fd8a50a49b2c22e1588901731
tree44a8022366b03080f8872deaafa875a7b999bfd2
parent55b54c269beef13d88dc30544df34763a90dc815
usb: typec: tcpm: Introduce snk_vdo_v1 for SVDM version 1.0

The ID Header VDO and Product VDOs defined in USB PD Spec rev 2.0 and
rev 3.1 are quite different. Add an additional array snk_vdo_v1 and
send it as the response to the port partner if it only supports SVDM
version 1.0.

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210601123151.3441914-4-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpm.c