Skip to content

Commit 0f554e3

Browse files
nxpfrankliShawn Guo
authored andcommitted
arm64: dts: imx8: fix USB 3.0 Gadget Failure in QM & QXPB0 at super speed
Resolve USB 3.0 gadget failure for QM and QXPB0 in super speed mode with single IN and OUT endpoints, like mass storage devices, due to incorrect ACTUAL_MEM_SIZE in ep_cap2 (32k instead of actual 18k). Implement dt property cdns,on-chip-buff-size to override ep_cap2 and set it to 18k for imx8QM and imx8QXP chips. No adverse effects for 8QXP C0. Cc: stable@vger.kernel.org Fixes: dce4944 ("usb: cdns3: allocate TX FIFO size according to composite EP number") Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 50a1726 commit 0f554e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ conn_subsys: bus@5b000000 {
171171
interrupt-names = "host", "peripheral", "otg", "wakeup";
172172
phys = <&usb3_phy>;
173173
phy-names = "cdns3,usb3-phy";
174+
cdns,on-chip-buff-size = /bits/ 16 <18>;
174175
status = "disabled";
175176
};
176177
};

0 commit comments

Comments
 (0)