]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: Fix occasional boot hang for am3 usb
authorTony Lindgren <tony@atomide.com>
Tue, 12 Dec 2023 13:50:35 +0000 (15:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:12:29 +0000 (15:12 +0100)
[ Upstream commit 9b6a51aab5f5f9f71d2fa16e8b4d530e1643dfcb ]

With subtle timings changes, we can now sometimes get an external abort on
non-linefetch error booting am3 devices at sysc_reset(). This is because
of a missing reset delay needed for the usb target module.

Looks like we never enabled the delay earlier for am3, although a similar
issue was seen earlier with a similar usb setup for dm814x as described in
commit ebf244148092 ("ARM: OMAP2+: Use srst_udelay for USB on dm814x").

Cc: stable@vger.kernel.org
Fixes: 0782e8572ce4 ("ARM: dts: Probe am335x musb with ti-sysc")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/am33xx.dtsi

index f09a61cac2dc968169fdb310f7d19219b7fe8aac..3d064eb290997ceae5ff373f31c750196423b44a 100644 (file)
                                        <SYSC_IDLE_NO>,
                                        <SYSC_IDLE_SMART>,
                                        <SYSC_IDLE_SMART_WKUP>;
+                       ti,sysc-delay-us = <2>;
                        clocks = <&l3s_clkctrl AM3_L3S_USB_OTG_HS_CLKCTRL 0>;
                        clock-names = "fck";
                        #address-cells = <1>;