]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: wcove: Provide fwnode for the port
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 19 Mar 2019 12:53:24 +0000 (15:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2019 07:42:53 +0000 (16:42 +0900)
commit5a965a41d25bbb7fc27638baf6d6032e7a2242b1
treef16e01235428ebf4b65672c02447ecfe3f345c5f
parentbccc43516fb123d0082770855bf4867371110f54
usb: typec: wcove: Provide fwnode for the port

By registering a software fwnode for the port, we can supply
the connector capabilities to the tcpm using the common USB
connector device properties instead of relying on platform
data (struct tcpc_config).

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