2022-04-11 15:38:13

by Frank Wunderlich

[permalink] [raw]
Subject: Aw: [PATCH] arm64: dts: rockchip: Fix clocks for rk356x usb

Hi,

> Gesendet: Samstag, 09. April 2022 um 09:51 Uhr
> Von: "Frank Wunderlich" <[email protected]>

> - clock-names = "ref_clk", "suspend_clk",
> - "bus_clk";
> + clock-names = "ref", "suspend_clk",
> + "bus_early";
> dr_mode = "host";
> phy_type = "utmi_wide";
> power-domains = <&power RK3568_PD_PIPE>;
> @@ -280,8 +280,8 @@ usb_host1_xhci: usb@fd000000 {
> interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&cru CLK_USB3OTG1_REF>, <&cru CLK_USB3OTG1_SUSPEND>,
> <&cru ACLK_USB3OTG1>;
> - clock-names = "ref_clk", "suspend_clk",
> - "bus_clk";
> + clock-names = "ref", "suspend_clk",
> + "bus_early";
> dr_mode = "host";

this is the patch breaking it:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=33fb697ec7e58c4f9b6a68d2786441189cd2df92

suspend clock needs to be renamed too from "suspend_clk" to "suspend"

else i get this error on poweroff

xhci-hcd xhci-hcd.1.auto: Host halt failed, -110

regards Frank