OSDN Git Service

usb: typec: fusb302: Populate tcpc fwnode for TCPM property handling
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 21 Aug 2018 12:28:23 +0000 (13:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:56:02 +0000 (12:56 +0200)
commit38c6528d40d8085183916b3ef851ddea66fd84dd
tree0548c4d1e640e40a492f8f2d1e50481de596c7f6
parentc8c11ad1afb134839017fe28a1de945b6333631f
usb: typec: fusb302: Populate tcpc fwnode for TCPM property handling

This update populates the tcpc handle's fwnode pointer with the
child usb-connector node, if it exists, so that TCPM can perform
generic property handling to define the ports capabilities.

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