Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp417163imw; Fri, 8 Jul 2022 05:26:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sNzT2oyUZWWnRSaQ+ZJmRcZ/VNpCUZRUnmeOt1D1yzHOw/sNOchEW4aBQN86GOKl+2s1C6 X-Received: by 2002:a63:1d04:0:b0:40d:a3e5:aa3a with SMTP id d4-20020a631d04000000b0040da3e5aa3amr3107954pgd.248.1657283162950; Fri, 08 Jul 2022 05:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657283162; cv=none; d=google.com; s=arc-20160816; b=mYQHuN4gkzZzNMd7qqHmeGdrHvNZwpf8D4GINGEkbdj2BOc+lmpM1F6xVq2aOkLiOs BBjVz0O2p7emi3E2XGZzPHJjG/Qq96fTsnhcvFYdPkHc/Uz5vENAE5Q2X5PSzZ2SSN/h K8ptdnfeyCE44yC+MK5WuhWfY9LOQIrerRvg3Q4eL4I018VapEt2IhTOGqWVKi7FJRd6 rwqqaaWooxHdJ3ggCVTUVU2ZQURlFeQ9F5jEgcJ0T8NIa9hIvZHX2xDps8kmJxslFd4X /jQ0P3T3IqZ6schAMksFmUS2SJ9W91EW8xEU+EQ8PeE63jAiV1TDfvU5wBiuuiB8i54o iuYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=wq6nOwRODXRjxawuFwDaLd5Q1hey6lC8jMT6S3aon2I=; b=bZBTcrkm3b+GN9F08F29/nnLVATKbk3epMHyptJDQLwyn7KiFkDsJPuYfkMr/yxE8S 93TFsoZnSCWfmXikRFLq+N+bN49Pt+HPM7QwZZpk6IPEagL4F6TbNmHI74xpJG3kiict xMomHM/643UtVM/6oKsNATz7RZnH6LtQroWm39GkB8QEzdiPURixGmlul5186zmlEGh4 OHoWT+Y/ud4I3CWBz/Vc4gMT877CQ9oJsH5FFp9sj6trQ6n989pVHtU2elLsYKK0O3wD KKVY9CpaH3Tw/6Y7nt+UZtP2Bv+V925FX9nGgUFHxtmxHQ0OViDj0OS907mi+6k9wV7J 8eBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=DyhV7Fdb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s32-20020a635260000000b00408c9608148si7032002pgl.488.2022.07.08.05.25.50; Fri, 08 Jul 2022 05:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=DyhV7Fdb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238131AbiGHMQl (ORCPT + 99 others); Fri, 8 Jul 2022 08:16:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231301AbiGHMQj (ORCPT ); Fri, 8 Jul 2022 08:16:39 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF1382F651 for ; Fri, 8 Jul 2022 05:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1657282571; bh=sLmOfEnVNSVJmG8OJ3heD6wggMT/SeCDldQQU4BqbpY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DyhV7FdbUVKU7Ttey7nDmGkD+9TlO6L1Mv7tpQytkaOh1gboOWChF58Z1Fv0nFj+b SUIJUELDjlU9g+2s9f+dHvsKd2djsEf793iFNX425K23OFnfY2CE/fVr7gHEzyf83r A4rEoZoYB6dVQkiNshc44BvPfRJJKqTQghMle/5Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [157.180.225.69] ([157.180.225.69]) by web-mail.gmx.net (3c-app-gmx-bs34.server.lan [172.19.170.86]) (via HTTP); Fri, 8 Jul 2022 14:16:11 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Vinod Koul Cc: Peter Geis , Samuel Holland , Greg Kroah-Hartman , "open list:GENERIC PHY FRAMEWORK" , arm-mail-list , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List , Kishon Vijay Abraham I , Heiko Stuebner Subject: Aw: Re: [BUG] USB broken on rk3568 based R2Pro Content-Type: text/plain; charset=UTF-8 Date: Fri, 8 Jul 2022 14:16:11 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:vgMfP4yrgP6IpedEv6CgTxZAAf8HIDhFKdiUyaeSHdg2tVzwFrS50PzJNDIePsXF7KbF6 J9K5v57XKgWKAYmgNXjWqx1t0N68O3WYkk1cznqmNUekVop9kGV1Ob//cSMx0eWbITKbussxkMCD dlEvBpRPrIUOab5UiCWjJaz+eqA4bz1WmJ645Y3qjbo93khRXmfQFEaOvKzqvz2+IwR53d/drNNF RknhomxxLXlzclbVM/uMNZBAbyS+R85IJ27MP3j8fDB6okU2YcyQTiDFzs0PBAaEAoDChtj6jxt2 yI= X-UI-Out-Filterresults: notjunk:1;V03:K0:v1BOECItVR8=:ulQ1qSe1hQy0NTW9mWO0kE c2a22fNZRvgOYXx6+tObJX3UwhLQgRSedAB8WhQAvHHIHu2OV7pHs3atR5BBZ34FuiBDBLv43 9AQcBtuMGz8xnX0qvYxX6JPV1xtLOWYi2/Vt3rcmtbeXTQR65EgqxmOhK+cf3PvVAwXcVER8V pQ9tkkOnSaz+yai0boxtj4y1sCzO0VPFlQyCx8+D0IYoWw/L9mQ8bJyoswiWYEe0eHOhQXiAM HeulOpEuktmuy+exEJjP7mFRO201HN25HHMV+UbnY9q33+o7m1tSUHSw9J7oCwZRAfqYBVVqe QTKcJP0Npt3jcw+N0c/Ex6b1bZwsrr7XQ0kg9CPtN+faTa/8UAPR4zrxGL+GBG/NxQ2xj4J83 56kPfAncml2s/3IomVNxv7Bqdn31RqYzVQNoX2BL0tqIk6RwYq/SdxrbqH5kqKP66gTLZ/dNH 4FSkg1D2Es1SuGupZGyt8NfU483TNNFDWdshbvfjW55JeCVcGTuZm8x5tOVcfohitog3CEDMj ziw2HatpZwPF9/dJEyBkkHSXgZBLP3g8Qh71IBzQbipNqhDlZED/mL7GtMewbY5QpQpm4FZWM WAbiksoSaFHszJ5keonTv9gKNUr0yq6/uw8Zmy57mEhf8XOwPN4ZLz4oAXrkl5G13WLFG5PrI 83gkhY6vx/inIfg6rPCcxFxuDWPrUAaP7Ip12zsIf3FOTjmXQyMHrvw1Js6B9fHk96m364/lZ daWdVhHkCCo4nk9qCgu6ZY8oFOg8hOZBlYIW/56bL4yT3+pEXZI88r91F18PfEvMfp3T8+1Qt zdvUabr Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Samuels Patch fixes my issue https://patchwork.kernel.org/project/linux-rockchip/patch/20220708061434.3= 8115-1-samuel@sholland.org/ regards Frank > Gesendet: Freitag, 08. Juli 2022 um 07:16 Uhr > Von: "Vinod Koul" > On 07-07-22, 15:41, Peter Geis wrote: > > On Thu, Jul 7, 2022 at 1:51 PM Frank Wunderlich wrote: > > > > > > Hi, > > > > > > traced it down with manual reverts to this one: > > > > > > commit 6a98df08ccd55e87947d253b19925691763e755c > > > phy: rockchip-inno-usb2: Fix muxed interrupt support > > > > > > luckily i can revert only this and now upper usb-port works again > > > > > > @samuel: have you an idea how to fix your problem without breaking m= y board? :) > > > > > > @greg/Vinod: maybe we can add a revert of this in mainline till issu= e is resolved? > > Lets give it a few days if we can find a fix, if not we can revert > > > > > > > regards Frank > > > > I don't know what you're running, but with the standard arm64 > > defconfig w/ all rockchip stuff built in, I have no issues here on > > 5.19. > > Please share the config and other details on what your running so that > Peter can repro this... > > > Note, the following changes are necessary to the 5.19 dts here: > > Remove the extcon from usb_host0_xhci, as the production model doesn't > > have automatic switching capabilities. The ID pin was removed in favor > > of the usb debug function which also doesn't work. > > Add dr_mode =3D "host" to the same node, for the same reason. > > > > > > > > > > > > Von: "Frank Wunderlich" > > > > i noticed that upper usb-Port (otg) is broken on my Bananapi R2Pro= with 5.19-rc1, works with 5.18.0 > > > > > > > > this port is a usb3 (xhci) port which includes an usb2-phy and sho= uld support otg, but i still want > > > > to use it in host-only mode (USB-A socket). > > > > > > > > already tried setting dr_mode in dts back to "host" as this was ch= anged in rk356x.dtsi by this commit: > > > > > > > > bc405bb3eeee 2022-04-25 arm64: dts: rockchip: enable otg/drd opera= tion of usb_host0_xhci in rk356x > > > > > > > > i see no error in dmesg and usb-controllers seem to be initialized= completely (visible in lsusb). > > > > > > > > r2pro has ID-Pin not connected, so i tried also peters Patch witho= ut success :( > > > > > -- > ~Vinod