<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/dwc3, branch v2022.07</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.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/dwc3?h=v2022.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-05-20T21:30:36Z</updated>
<entry>
<title>usb: dwc3: Fix non-usb3 configurations</title>
<updated>2022-05-20T21:30:36Z</updated>
<author>
<name>Jan Kiszka</name>
<email>jan.kiszka@siemens.com</email>
</author>
<published>2022-04-25T11:26:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=868d58f69c7ceda5c886293cf15f4e39493517a2'/>
<id>urn:sha1:868d58f69c7ceda5c886293cf15f4e39493517a2</id>
<content type='text'>
Missing nodes may also be signaled via -ENODATA. We need to check for
that to prevent failing in non-usb3 setups.

Furthermore, dev.phy must be NULL'ed in case usb3-phy was not found.

Fixes: 142d50fbce7c ("usb: dwc3: Add support for usb3-phy PHY configuration")
Signed-off-by: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;
</content>
</entry>
<entry>
<title>Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb</title>
<updated>2022-04-22T15:06:31Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2022-04-22T15:06:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d73175b1f407fefc6c5a0b81ac30c6b18bcc191'/>
<id>urn:sha1:6d73175b1f407fefc6c5a0b81ac30c6b18bcc191</id>
<content type='text'>
</content>
</entry>
<entry>
<title>usb: dwc3: Add support for usb3-phy PHY configuration</title>
<updated>2022-04-22T08:35:14Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2022-03-09T09:05:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=142d50fbce7c364a74f5e8204dba491b9f066e6c'/>
<id>urn:sha1:142d50fbce7c364a74f5e8204dba491b9f066e6c</id>
<content type='text'>
When usb3-phy label is found, PHY driver is called and serdes line is
initialized. This is preparation for serdes/psgtr driver to configure GT
lines based on description in DT.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: Implement .glue_configure for i.MX8MP</title>
<updated>2022-04-21T10:44:23Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2022-04-12T22:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d0f7a0559a9c7d63b2ecceb43f3eddecdf8c1b7e'/>
<id>urn:sha1:d0f7a0559a9c7d63b2ecceb43f3eddecdf8c1b7e</id>
<content type='text'>
The i.MX8MP glue needs to be configured based on a couple of DT
properties, implement .glue_configure callback to parse those DT
properties and configure the glue accordingly.

Tested-By: Tim Harvey &lt;tharvey@gateworks.com&gt; #imx8mp-venice-gw74xx
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Angus Ainslie &lt;angus@akkea.ca&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: Fabio Estevam &lt;festevam@gmail.com&gt;
Cc: Kunihiko Hayashi &lt;hayashi.kunihiko@socionext.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Cc: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: Rename .select_dr_mode to .glue_configure</title>
<updated>2022-04-21T10:44:23Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2022-04-12T22:42:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f1ef95591c29c1324415dc0a61254160d7d9290a'/>
<id>urn:sha1:f1ef95591c29c1324415dc0a61254160d7d9290a</id>
<content type='text'>
Rename the select_dr_mode callback to glue_configure, the callback is
used for more than enforcing controller mode even on the TI chips, so
change the name to a more generic one. No functional change.

Tested-By: Tim Harvey &lt;tharvey@gateworks.com&gt; #imx8mp-venice-gw74xx
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Angus Ainslie &lt;angus@akkea.ca&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: Fabio Estevam &lt;festevam@gmail.com&gt;
Cc: Kunihiko Hayashi &lt;hayashi.kunihiko@socionext.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Cc: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<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>
</feed>
