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

Alban Bedel alban.bedel at aerq.com
Thu Jun 16 10:47:10 CEST 2022


Hi all,

Sometimes ago I 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

--
v2: - Rebased onto current master
    - Fixed a typo the log message

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.34.1
-------------- 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/20220616/3fabbf5b/attachment.bin>


More information about the U-Boot mailing list