[PATCH 0/2] extcon: axp288: Move to swnodes

From: Heikki Krogerus
Date: Tue Oct 01 2019 - 06:51:47 EST


Hi Hans,

That AXP288 extcon driver is the last that uses build-in connection
description. I'm replacing it with a code that finds the role mux
software node instead.

I'm proposing also here a little helper
usb_role_switch_find_by_fwnode() that uses
class_find_device_by_fwnode() to find the role switches.

thanks,

Heikki Krogerus (2):
usb: roles: Add usb_role_switch_find_by_fwnode()
extcon: axp288: Remove the build-in connection description

drivers/extcon/extcon-axp288.c | 38 ++++++++++++++++++++--------------
drivers/usb/roles/class.c | 21 +++++++++++++++++++
include/linux/usb/role.h | 3 +++
3 files changed, 47 insertions(+), 15 deletions(-)

--
2.23.0