Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp112822imw; Thu, 7 Jul 2022 22:40:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tYIBIIuYx2DwJFc1c9ahlB7xARX7tyvHOpA7JdEnBP4+A704xkyiHfGMtskdMT90IZOJpZ X-Received: by 2002:a05:6a00:84b:b0:528:c70c:9508 with SMTP id q11-20020a056a00084b00b00528c70c9508mr2189580pfk.31.1657258847189; Thu, 07 Jul 2022 22:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657258847; cv=none; d=google.com; s=arc-20160816; b=GBPi5cMFpuScw4S+icz/xJ+E4KN2CQiMrnxDgm3pBu6ysl2sNPFPzHKnjkj3P91p/7 HEOYl8B0VAdq/94ILK7SKiNZZPSaIsSrVQmLMAW8aJGCBE4XNcBwrxcFI+J4tP5bEHXe prJK3qbd2A5PdHOP+jv//veSpOU82kbxza+oVJ9xEWox1H0XHejhBp8ybpsJnpXf+j9C rsrg+g0jFuZPR03F6vONTtG+hEWM51/Bs24IiDoRNNKbnVdRBREMq4bVSBYTDGG2fiEi GpuV5cnvP2oGe6yrlz00NZl5yPu6zJToMzY5Mf0lQHxM1YfryhllOFR1JeyFOA6O551V 65Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WC24b7wMwkcCdqXzB4072eRNdusYvwqEfRJ4uFCK+9c=; b=sNHP/4ojBQPUHWBrOvCzV5gCK8LdvuUOtC3vt/zZ9OCjow+wg+3M+f+PcmVn3PCW5P 5qMvUt8kR1vdZoIfhiLWirgLPzYD4oE0RFCNmU57UW5ljeWqILx9tfSJTpiuEDLbGCv2 +8d4qNNkA63VlkjzlTgR6A1nOWbIJmwBj92V6eXpOkv3qoxQWr5hNmwyCr9QeEzAAXDr 5mIchuCJekiOLXGfGhrS/N0hbLd/GMwGmfo47ntEViVLG5KrAykGwILbegnA7dARm66U dem0H/xLi3WNXWifM5GC/yTDR7dnqMjd/fwDs95rkKbJilg6PqnbS0HPWiT5Zybh4SbO 2+eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YsrHVfbH; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a170903028300b00168cca66a18si31773126plr.351.2022.07.07.22.40.35; Thu, 07 Jul 2022 22:40:47 -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=@kernel.org header.s=k20201202 header.b=YsrHVfbH; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237126AbiGHFQX (ORCPT + 99 others); Fri, 8 Jul 2022 01:16:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiGHFQW (ORCPT ); Fri, 8 Jul 2022 01:16:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4687676973 for ; Thu, 7 Jul 2022 22:16:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 018D7B824AB for ; Fri, 8 Jul 2022 05:16:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33A1DC341C0; Fri, 8 Jul 2022 05:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657257378; bh=4wYE7v0lAhM5Calh+s5prT4A+3nwzjmMFNoQEcRsbG0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YsrHVfbHK5/zojMD3bFusOTRWdnu1UlFGWIdjtdtmzu10DnF/Pi5B4S2737FkTlTA cxSFPavn11Rke/IEjLJsqiep/kO5RRvSDJSkT+OTPoTXyJMmmVC5Abd7IzJ9Fd03Gs 746teNFDCCR/0OEhhg6ZStW/RTFszZJs7VxW7aVPAyxAy55n+HlkgW0Cj2Mkfmvdqn pFq+D+bNarwZ4Vd6XiN9XLnMoZoojo1EMU5IXrG79gBiwjcjyzSQFx1nH35Pnhl7JV KWpAOsftWLG4+czWL3UeN5nIaoRWPG7qh3nxshRxGO3h62zl0sVQknoai9nzpusDOv qo+SfnOnpFgng== Date: Fri, 8 Jul 2022 10:46:15 +0530 From: Vinod Koul To: Peter Geis Cc: Frank Wunderlich , 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: Re: [BUG] USB broken on rk3568 based R2Pro Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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 my board? :) > > > > @greg/Vinod: maybe we can add a revert of this in mainline till issue 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 = "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 :( > > -- ~Vinod