usb: dwc3: pci: Also apply Bay Trail GPIO mappings to ulpi-device
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Feb 2022 13:05:20 +0000 (14:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Feb 2022 15:30:29 +0000 (16:30 +0100)
commita5d847b0afd317df1ed0e3b72fbef72ce4824532
treecb8843a3f811264fdcd53564463d96f65811e75a
parent582ab24e096fd591026de6f1bbae104e45fecf0f
usb: dwc3: pci: Also apply Bay Trail GPIO mappings to ulpi-device

In order for the phy driver to be able to actually get and control
the cs and reset GPIOs the dev_id member of the gpiod_lookup table must
be set to point to the dev_name() of the ulpi-device instantiated by
dwc3_ulpi_init().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220213130524.18748-6-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-pci.c