<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/dwc3, branch v2022.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/dwc3?h=v2022.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/dwc3?h=v2022.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-02-16T15:52:56Z</updated>
<entry>
<title>usb: dwc3: core: stop the core when it's removed</title>
<updated>2022-02-16T15:52:56Z</updated>
<author>
<name>Angus Ainslie</name>
<email>angus@akkea.ca</email>
</author>
<published>2022-02-02T23:08:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb146fbc1ae551ce3bdb2966dd36a0b38e62b5dc'/>
<id>urn:sha1:fb146fbc1ae551ce3bdb2966dd36a0b38e62b5dc</id>
<content type='text'>
If u-boot doesn't stop the core when it's finished with it then
linux can't find it.

Signed-off-by: Angus Ainslie &lt;angus@akkea.ca&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: dwc3-generic: check the parent nodes</title>
<updated>2022-02-16T15:52:56Z</updated>
<author>
<name>Angus Ainslie</name>
<email>angus@akkea.ca</email>
</author>
<published>2022-02-02T23:08:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c08db05455bcb2259849a096acf2e90cce258849'/>
<id>urn:sha1:c08db05455bcb2259849a096acf2e90cce258849</id>
<content type='text'>
The kernel devicetree has definitions for port and hub nodes as subnodes
to the USB devices. These subnodes don't contain all of the data required
to properly configure the dwc3. Check the parent nodes if the data is not
in the port/hub node.

Here's an example from the librem5 kernel dts file

&amp;usb_dwc3_0 {
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;
	dr_mode = "otg";
	snps,dis_u3_susphy_quirk;
	status = "okay";

	port@0 {
		reg = &lt;0&gt;;

		typec_hs: endpoint {
			remote-endpoint = &lt;&amp;usb_con_hs&gt;;
		};
	};

	port@1 {
		reg = &lt;1&gt;;

		typec_ss: endpoint {
			remote-endpoint = &lt;&amp;usb_con_ss&gt;;
		};
	};
};

&amp;usb_dwc3_1 {
	dr_mode = "host";
	status = "okay";
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;

	/* Microchip USB2642 */
	hub@1 {
		compatible = "usb424,2640";
		reg = &lt;1&gt;;
		#address-cells = &lt;1&gt;;
		#size-cells = &lt;0&gt;;

		mass-storage@1 {
			compatible = "usb424,4041";
			reg = &lt;1&gt;;
		};
	};
};

Signed-off-by: Angus Ainslie &lt;angus@akkea.ca&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: add layerscape support</title>
<updated>2021-11-09T11:48:23Z</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2021-10-15T13:15:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2b0b51d0bedf70ced90960eb029908d04c8e4d77'/>
<id>urn:sha1:2b0b51d0bedf70ced90960eb029908d04c8e4d77</id>
<content type='text'>
Add support for the proper dwc3 device tree binding support as specified
in the offical device tree spec.

Initially, add support for the LS1028A support. Other SoCs should be
easy to add by just adding the corresponding compatible string.
Unfortunately, the device trees of all other layerscape SoCs are not
converted and uses a wrong compatible string only known in u-boot.

To maintain backwards compatibility with current u-boot device trees,
add the generic "fsl,layerscape-dwc3" compatible string.

OTG mode is not supported yet. The dr_mode in the devicetree will either
have to be set to peripheral or host.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: Enable undefined length INCR burst type</title>
<updated>2021-11-09T11:48:23Z</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2021-10-15T13:15:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f150b8d28b4eab267fdd4af4a2d0a41443702cc5'/>
<id>urn:sha1:f150b8d28b4eab267fdd4af4a2d0a41443702cc5</id>
<content type='text'>
[backport from linux commit d9612c2f0449e24983a8b689603210486a930c90]

Enable the undefined length INCR burst type and set INCRx.
Different platform may has the different burst size type.
In order to get best performance, we need to tune the burst
size to one special value, instead of the default value.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: Add frame length adjustment quirk</title>
<updated>2021-11-09T11:48:23Z</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2021-10-15T13:15:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d274cbbc1cef8909d47b3f797fef3667bc170620'/>
<id>urn:sha1:d274cbbc1cef8909d47b3f797fef3667bc170620</id>
<content type='text'>
[backport from linux commit db2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3]

Add adjust_frame_length_quirk for writing to fladj register
which adjusts (micro)frame length to value provided by
"snps,quirk-frame-length-adjustment" property thus avoiding
USB 2.0 devices to time-out over a longer run

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: meson-gxl: add AXG compatible</title>
<updated>2021-10-07T08:14:50Z</updated>
<author>
<name>Neil Armstrong</name>
<email>narmstrong@baylibre.com</email>
</author>
<published>2021-09-17T07:37:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7c085858616152fcab804bd8c14350ce181d241'/>
<id>urn:sha1:c7c085858616152fcab804bd8c14350ce181d241</id>
<content type='text'>
Upstream Linux uses the "amlogic,meson-axg-usb-ctrl" for AXG SoCs.

This adds it to the compatible list for this driver.

Reported-by: Vyacheslav Bocharov &lt;adeep@lexina.in&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Tested-by: Vyacheslav Bocharov &lt;adeep@lexina.in&gt;
</content>
</entry>
<entry>
<title>WS cleanup: remove SPACE(s) followed by TAB</title>
<updated>2021-09-30T13:08:16Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2021-09-27T15:42:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0cf207ec01cbacae47585fcc26591dd2296507d6'/>
<id>urn:sha1:0cf207ec01cbacae47585fcc26591dd2296507d6</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>WS cleanup: remove trailing white space</title>
<updated>2021-09-30T12:08:56Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2021-09-27T15:42:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a50b3c97b3408e52589d873d4c7b54ad365a76c'/>
<id>urn:sha1:0a50b3c97b3408e52589d873d4c7b54ad365a76c</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST</title>
<updated>2021-07-28T18:27:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-07-11T03:14:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608'/>
<id>urn:sha1:333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608</id>
<content type='text'>
Rename this option so that CONFIG_IS_ENABLED can be used with it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>usb: Enforce DM_USB migration for USB_HOST devices.</title>
<updated>2021-07-19T01:05:31Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2021-07-09T14:11:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=be5c0608b86852891fd61ec358b0238499bb86ca'/>
<id>urn:sha1:be5c0608b86852891fd61ec358b0238499bb86ca</id>
<content type='text'>
As the deadline for migration to DM_USB, when using a USB host
controller has now gone two years past the deadline, enforce migration.
This is done by:

- Ensuring that all host controller options (other than the very legacy
  old MUSB ones) now select USB_HOST.  USB_HOST now enforces DM_USB and
  OF_CONTROL.
  - Remove other parts of Kconfig logic that had platforms pick DM_USB.
  - To keep Kconfig happy, have some select statements test for USB_HOST
    as well.
- Re-order some Kconfig entries and menus so that we can cleanly pick
  host or gadget roles.  For the various HCD options that have platform
  glue options, group them together and update dependencies in some
  cases.
- As SPL_DM_USB is not required, on platforms that had not yet enabled
  it, disable it.

Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Icenowy Zheng &lt;icenowy@aosc.io&gt;
Cc: Samuel Holland &lt;samuel@sholland.org&gt;
Cc: FUKAUMI Naoki &lt;naobsd@gmail.com&gt;
Cc: Andre Przywara &lt;andre.przywara@arm.com&gt;
Cc: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
