[PATCH 0/2] usb: dwc3: Add support for standalone DWC3 nodes

Alban Bedel alban.bedel at aerq.com
Wed Apr 20 11:17:39 CEST 2022


Hi all,

I recently submitted a patch to fix the support for the DWC3 controller
on the imx8mq which, unlike most DWC3 implementation, doesn't use a top
glue node with child DWC3 nodes. Instead it has the DWC3 node directly
on the main bus.

Angus Ainslie then asked why this patch was needed as he had submitted
the original support for the imx8mq. Looking into the issue it turned out
that Angus patch basically let the driver use the `port` subnodes, which
are there to define the connection to a type C connector, as DWC3 nodes.
As the board I'm working on has no type C connecor, hence no `port`
subnodes the driver just did nothing in my case.

This new series replace my previous patch (usb: dwc3-generic: Fix the
iMX8MQ support). It starts by reverting Angus patch as it was not
following the DT binding and then add support for generic DWC3 without
glue node. This fix the imx8mq case and might add support for a few
other SoC at the same time.

Alban

Alban Bedel (2):
  Revert "usb: dwc3: dwc3-generic: check the parent nodes"
  usb: dwc3: Add support for standalone DWC3 nodes

 drivers/usb/dwc3/dwc3-generic.c | 124 +++++++++++++++++---------------
 1 file changed, 68 insertions(+), 56 deletions(-)

-- 
2.32.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3627 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220420/a2c90dfc/attachment-0001.bin>


More information about the U-Boot mailing list