usb: dwc3: drd: Add support for usb-conn-gpio based usb-role-switch
authorJosep Orga <jorga@somdevices.com>
Tue, 7 Nov 2023 18:50:04 +0000 (19:50 +0100)
committerJosep Orga <jorga@somdevices.com>
Tue, 7 Nov 2023 18:50:04 +0000 (19:50 +0100)
commitf006496b255a9f75a09f18e8853ffec25f10bc37
treec4d4ba090737e043724dd7ebf970afa22858b5e4
parentfa03817115eac5804a7dfca49d5c1f3e7ada004b
usb: dwc3: drd: Add support for usb-conn-gpio based usb-role-switch

usb-conn-gpio devices are a subnode of the USB interface controller, which
needs to be populated.
This allows having a non-type-c connector providing dual-role.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220105071407.2240302-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/drd.c