Skip to content

Commit f1ecb0e

Browse files
Hang Caogregkh
authored andcommitted
dt-bindings: usb: Fix EIC7700 USB reset's issue
The EIC7700 USB requires a USB PHY reset operation; otherwise, the USB will not work. The reason why the USB driver that was applied can work properly is that the USB PHY has already been reset in ESWIN's U-Boot. However, the proper functioning of the USB driver should not be dependent on the bootloader. Therefore, it is necessary to incorporate the USB PHY reset signal into the DT bindings. This patch does not introduce any backward incompatibility since the dts is not upstream yet. As array of reset operations are used in the driver, no modifications to the USB controller driver are needed. Fixes: c640a42 ("dt-bindings: usb: Add ESWIN EIC7700 USB controller") Cc: stable <stable@kernel.org> Signed-off-by: Hang Cao <caohang@eswincomputing.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260415064238.1784-1-caohang@eswincomputing.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d962096 commit f1ecb0e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ properties:
4141
- const: usb_en
4242

4343
resets:
44-
maxItems: 2
44+
maxItems: 3
4545

4646
reset-names:
4747
items:
4848
- const: vaux
4949
- const: usb_rst
50+
- const: usb_phy
5051

5152
eswin,hsp-sp-csr:
5253
description:
@@ -85,8 +86,8 @@ examples:
8586
interrupt-parent = <&plic>;
8687
interrupts = <85>;
8788
interrupt-names = "peripheral";
88-
resets = <&reset 84>, <&hspcrg 2>;
89-
reset-names = "vaux", "usb_rst";
89+
resets = <&reset 84>, <&hspcrg 2>, <&hspcrg 4>;
90+
reset-names = "vaux", "usb_rst", "usb_phy";
9091
dr_mode = "peripheral";
9192
maximum-speed = "high-speed";
9293
phy_type = "utmi";

0 commit comments

Comments
 (0)