]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit4c912bff46cc1b37490fda2eac33471ddd0fadf2
treef16e01235428ebf4b65672c02447ecfe3f345c5f
parent8ead7e817224d7832fe51a19783cb8fcadc79467
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