lkml.org 
[lkml]   [2022]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] arm64: dts: rockchip: Fix SoQuartz CM4IO usb
On Fri, Jun 10, 2022 at 9:26 AM Peter Geis <pgwipeout@gmail.com> wrote:
>
> The SoQuartz CM4-IO should support otg mode, however it currently
> defaults to device mode when otg is enabled. Force it to host mode to
> retain the previous behavior.

It would seem the role-switch issue is more widespread than originally
thought, affecting other boards where automatic control should work.
Please hold this patch while I investigate further.

Thanks!

>
> Fixes: bc405bb3eeee ("arm64: dts: rockchip: enable otg/drd operation of usb_host0_xhci in rk356x")
>
> Signed-off-by: Peter Geis <pgwipeout@gmail.com>
> ---
> arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts b/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
> index e00568a6be5c..56764fae9f9d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
> @@ -169,6 +169,7 @@ &usb2phy0_otg {
> };
>
> &usb_host0_xhci {
> + dr_mode = "host";
> status = "okay";
> };
>
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2022-06-10 16:45    [W:0.042 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site