Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4149736imw; Thu, 7 Jul 2022 13:39:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1to6gm27M3Tq72sqm+1+8NV4Oa5jpUCrI4mFzCjFe3OQOzP1zr9FNr5PbEovpQaBhtdmrBp X-Received: by 2002:a05:6402:4309:b0:43a:a4f2:12a7 with SMTP id m9-20020a056402430900b0043aa4f212a7mr1675451edc.205.1657226365059; Thu, 07 Jul 2022 13:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657226365; cv=none; d=google.com; s=arc-20160816; b=s+a1/UxKpCpdLPB8p4SZp+xZhRrOU/gpmAzjFAo6hihnpqyGQY0QxNlFJmk3Cu0VGp 0dVLfQsxwZspmm5n+d7cImCPRq32CGrIYAa5iXLyPCN4aGMJUi/JCFbHlxYe6lJoweJX Mrc/mGtpAnoARDSnsJNG7yJ78nCAMZUOIxq3H6sFUOH3u5w0NNIXHkm2n7cBxnpFHP79 i8fk32OQWJIEsYcKrehCT1hrzDfgiECBU+rUhYsYI7dRB3MC2dP1t+b/nlk2CP7xTmAQ qfE0fFEB8tW8vKB0nJzoHmteeUJLYHCWVBR/4oxACXP2q829Yq2vjvJ+SPFWX8mc026Q 6H5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Wz86QKRHnj/MzzGjPiA/OihJZ8/+5T6Oq/nltkUkjeQ=; b=tKlytjYJeKgJWNcE2WwQ/kcffGXdZFh0teSiOFTMCNYqX9juQupSEZt+4wPXA5xD+I A91UR6UZVjpyDOko9FWtJivlqPx2Ju1KFtEexPMtVhoDH1KmyFFYKcqvt50w5mknG44T TCzKSTZ5PLKJiSSxNzwZ+ivokr0VOJSOw/T2uV1bJVA8F9mByjOZFsdp83wJwmwukCeg Q/rYXGADFrhi893JggXiRGjNlX7XHz0ppNBiCIjG+14ZxBcVqpHox9PfTus/iOq13pa/ 1N7NvbSzg96K/057HPUfACgv18q3FLzGa5iaLpHTwLBu6Bp7TvG7CSNnN3hixSp/LJbJ +Cfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EBzKxQoF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z20-20020a05640240d400b0043a837b7216si4725919edb.28.2022.07.07.13.38.53; Thu, 07 Jul 2022 13:39:25 -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=@gmail.com header.s=20210112 header.b=EBzKxQoF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236141AbiGGTlX (ORCPT + 99 others); Thu, 7 Jul 2022 15:41:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235519AbiGGTlV (ORCPT ); Thu, 7 Jul 2022 15:41:21 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 242104D177 for ; Thu, 7 Jul 2022 12:41:21 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id j193so2738714oih.0 for ; Thu, 07 Jul 2022 12:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Wz86QKRHnj/MzzGjPiA/OihJZ8/+5T6Oq/nltkUkjeQ=; b=EBzKxQoFNquptYjnPmsNGzg6ttCIDNdfnEylByDZWOM3k8m/qMfwJvtkKm/foB12lU EaoYJVyT9Q/OMHE7/BwDvHEtQuhksafloPvdUEBSUmpN1lxUYY4epo2IFcmMjbfy/Uv+ ud3iog1hudI9+aeiZK5e5HHDeQ3J9NEdgx1oZi/YZH5XVG4u5xnnMMzOsCpfCfdkzl8L Qp1ELBzLZ5aflJp6X3bB1b62J152xJ1cHxd2Ah1cP0eYDBwX6ZPU49c0L15qKrqpP9Id dmVcnHls/Q8jbMQdNfBRKUCmRq4d5qNrPWcLWzeLpv3izmhfO/fUyn0jS7Tr8ver6Ohb 8Frw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wz86QKRHnj/MzzGjPiA/OihJZ8/+5T6Oq/nltkUkjeQ=; b=FmLvUmLZ2AlGik+7V8x0MlH7pUuNHBI0Le2Mdtzg8qoiDuMI+hNdCooMIQhiu85kCd OFH6ivOUEBBFWPV0fHajYpZQbLpqL3gxqmBO2oKqZX5Imqld/zqZ2OajyfxCMQQwXm0p LymJDQJgnUvSHGltSCB7Kd5tjPBFHoqDQWbeFswWqXazGoJd//kO1OXbCQUu/EdTAbGd cS00cfp5hiz9pMYhbcKfacBocyaH91vatH+vI9bI9/77bYWnglVvVjeE6E5KRElElrlP jTizZBLAf1vELv4SYgvFx23+8DwbiKEpz4PQq+GPkPdGYi0FB5M5pLjdbHciQMWMIhIB /+sQ== X-Gm-Message-State: AJIora+H8GZsKsWAt6D1G/NSvyGP2XhVVaH9mLJEq13ndhjIREQmmmxO dEhxaZdqrbaRpfB43EHPn1sohcdtLqPjcJsdlQPS8uwgHw3/DA== X-Received: by 2002:a05:6808:3096:b0:335:796f:abc2 with SMTP id bl22-20020a056808309600b00335796fabc2mr3594892oib.173.1657222880210; Thu, 07 Jul 2022 12:41:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Geis Date: Thu, 7 Jul 2022 15:41:08 -0400 Message-ID: Subject: Re: [BUG] USB broken on rk3568 based R2Pro To: Frank Wunderlich Cc: Samuel Holland , Greg Kroah-Hartman , Vinod Koul , "open list:GENERIC PHY FRAMEWORK" , arm-mail-list , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List , Kishon Vijay Abraham I , Heiko Stuebner Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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 my board? :) > > @greg/Vinod: maybe we can add a revert of this in mainline till issue is resolved? > > 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. 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 = "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 should 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 changed in rk356x.dtsi by this commit: > > > > bc405bb3eeee 2022-04-25 arm64: dts: rockchip: enable otg/drd operation 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 without success :( >