usb: typec: tcpm: support get typec and pd config from device properties
authorLi Jun <jun.li@nxp.com>
Tue, 26 Jun 2018 23:45:24 +0000 (07:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 10:49:47 +0000 (19:49 +0900)
commit96232cbc6c994c6af387c3c6e2a1f121cf5b1a2d
tree3ad54d50fdaeee376bbb133a5ce1e7d4d5142fb7
parent9c90e02434b66f9bcfc5c9a91a808eee5b7aa21b
usb: typec: tcpm: support get typec and pd config from device properties

This patch adds support of get typec and power delivery config from
firmware description.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Li Jun <jun.li@nxp.com>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm.c