diff mbox series

[v7,3/3] arm64: dts: ti: k3-am62a: Disable USB LPM

Message ID 20240412-for-v6-10-am62-usb-typec-dt-v7-3-93b827adf97e@kernel.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: am62: Add USB support for k3-am62p | expand

Commit Message

Roger Quadros April 12, 2024, 12:02 p.m. UTC
As per AM62A TRM [1] USB Link Power Management (LPM)
feature is not supported. Disable it else it may
cause enumeration failure on some devices.

> 4.9.2.1 USB2SS Unsupported Features
> The following features are not supported on this family of devices:
> ...
> - USB 2.0 ECN: Link Power Management (LPM)
> ...

[1] - https://www.ti.com/lit/pdf/spruj16

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
Changelog:
v7 - Rebased to v6.9-rc1
v6 - Rebased on next-20240226
v5 - new patch
---
 arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Ravi Gunasekaran April 16, 2024, 6:33 a.m. UTC | #1
On 4/12/2024 5:32 PM, Roger Quadros wrote:
> As per AM62A TRM [1] USB Link Power Management (LPM)
> feature is not supported. Disable it else it may
> cause enumeration failure on some devices.
>
>> 4.9.2.1 USB2SS Unsupported Features
>> The following features are not supported on this family of devices:
>> ...
>> - USB 2.0 ECN: Link Power Management (LPM)
>> ...
> [1] - https://www.ti.com/lit/pdf/spruj16
>
> Signed-off-by: Roger Quadros <rogerq@kernel.org>
> ---
> Changelog:
> v7 - Rebased to v6.9-rc1
> v6 - Rebased on next-20240226
> v5 - new patch
> ---

Reviewed-by: Ravi Gunasekaran <r-gunasekaran@ti.com>

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index a158df0d0ba6..adaf578280f9 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -621,6 +621,8 @@  usb0: usb@31000000 {
 			interrupt-names = "host", "peripheral";
 			maximum-speed = "high-speed";
 			dr_mode = "otg";
+			snps,usb2-gadget-lpm-disable;
+			snps,usb2-lpm-disable;
 		};
 	};
 
@@ -644,6 +646,8 @@  usb1: usb@31100000 {
 			interrupt-names = "host", "peripheral";
 			maximum-speed = "high-speed";
 			dr_mode = "otg";
+			snps,usb2-gadget-lpm-disable;
+			snps,usb2-lpm-disable;
 		};
 	};