Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1427202ybp; Fri, 4 Oct 2019 14:48:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSIIPv5niTsI5dVjDPZGbY/Sba94cx3+kteRMSLszA+tKJHfn0kzKSX9qXX6g0Zp/8WzNi X-Received: by 2002:a17:906:5c16:: with SMTP id e22mr14626229ejq.105.1570225719496; Fri, 04 Oct 2019 14:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570225719; cv=none; d=google.com; s=arc-20160816; b=pFK0MeGb8fcy5KSkgu66inmsFPduuo+jdCj1flSrgEc5LVerW44+d+GqE/16M7PGrE xw0Do9zY2bKSyh7Kcxq/qMMc+olJ4knNWPG9lxXtk+c3rJrJBHf8kv2RhHbzFTB3+F/W hYUXkvgs40fZLf3QeEcBHDYDigq7+sv2mAGnk/W6oMj96x7R2pGNWy5VWyq2ErnzE5KC HFX1Jb0G8NE0WPtwpB3hNP7TYfOhLKhw9RwuAlQmmpDFa4D30frVz+km32tiXsutZ3Su LcbRLFISR1jSK0lkOV9T1Y0TJA0takaV33QhOy52tf25JDILDDt+aLV5XqeP59eHD68Z hivA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9LtHKqwKee/7ORAA7jYG4qS6VuBghxMbqkuSgsWC8CM=; b=K4Sgpr9XtGFbcImkPqxdyl1DkN52/yN5uTUbeWSdROYwyedk5adt5i7/zIQNw7r7U3 Pni9pcAEf/CI4dR2lklcHmjmXwT6RmZ56bWLkhIEu2d5S2yKbGju8nsVePf/Tt4hYzxv Ey9rL314KICXRBXZW0TkdVGvvyh8ScrFHZZtWmBadg8YUTSVo4k+8lqPbqtC5rNdur8k EU2u7KDZSjEARgJ2Wp+osgweQRKaqVaN9IUvO4olRtrtPC4fQGPNneOnLJ2Md8djec19 NYFdlR6kUIJeiBlfLpYMlb3qJrzHXE1UUBbGzHyg7CGj0ihD1xehxvTo4pVymi87hJ84 BvbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a38si4787569edf.260.2019.10.04.14.48.16; Fri, 04 Oct 2019 14:48:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731380AbfJDVpY convert rfc822-to-8bit (ORCPT + 99 others); Fri, 4 Oct 2019 17:45:24 -0400 Received: from gloria.sntech.de ([185.11.138.130]:38072 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727548AbfJDVpX (ORCPT ); Fri, 4 Oct 2019 17:45:23 -0400 Received: from 94.112.246.102.static.b2b.upcbusiness.cz ([94.112.246.102] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGVNt-0006sD-N6; Fri, 04 Oct 2019 23:45:09 +0200 From: Heiko Stuebner To: Vivek Unune Cc: Vicente Bergas , robh+dt@kernel.org, mark.rutland@arm.com, ezequiel@collabora.com, akash@openedev.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Felipe Balbi , Felipe Balbi , Roger Quadros Subject: Re: [PATCH] arm64: dts: rockchip: Fix usb-c on Hugsun X99 TV Box Date: Fri, 04 Oct 2019 23:45:08 +0200 Message-ID: <2223294.9I8gkMH88G@phil> In-Reply-To: <20190929234615.GA5355@vivek-desktop> References: <20190929032230.24628-1-npcomplete13@gmail.com> <54c67ca8-8428-48ee-9a96-e1216ba02839@gmail.com> <20190929234615.GA5355@vivek-desktop> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vivek, Am Montag, 30. September 2019, 01:46:15 CEST schrieb Vivek Unune: > On Sun, Sep 29, 2019 at 01:22:17PM +0200, Vicente Bergas wrote: > > On Sunday, September 29, 2019 5:22:30 AM CEST, Vivek Unune wrote: > > > Fix usb-c on X99 TV Box. Tested with armbian w/ kernel 5.3 > > > > > > Signed-off-by: Vivek Unune > > > --- > > > arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts > > > b/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts > > > index 0d1f5f9a0de9..c133e8d64b2a 100644 > > > --- a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts > > > +++ b/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts > > > @@ -644,7 +644,7 @@ > > > status = "okay"; > > > u2phy0_host: host-port { > > > - phy-supply = <&vcc5v0_host>; > > > + phy-supply = <&vcc5v0_typec>; > > > status = "okay"; > > > }; > > > @@ -712,7 +712,7 @@ > > > &usbdrd_dwc3_0 { > > > status = "okay"; > > > - dr_mode = "otg"; > > > + dr_mode = "host"; > > > }; > > > &usbdrd3_1 { > > > > Hi Vivek, > > > > which is the relationship of your patch and this commit: > > > > e1d9149e8389f1690cdd4e4056766dd26488a0fe > > arm64: dts: rockchip: Fix USB3 Type-C on rk3399-sapphire > > > > with respect to this other commit: > > > > c09b73cfac2a9317f1104169045c519c6021aa1d > > usb: dwc3: don't set gadget->is_otg flag > > > > ? > > > > I did not test reverting e1d9149e since c09b73cf was applied. > > > > Regards, > > Vicen?. > > > > Hi Vicen?, > > Indeed, I was motivated by e1d9149e ("arm64: dts: rockchip: Fix USB3 > Type-C on rk3399-sapphire"). X99 TV box showed exact same symptoms > with usb-c port. After applying the fix, it worked. > > I was not aware of c09b73cf ("usb: dwc3: don't set gadget->is_otg > flag") and it will be interesting to test it. This might render > my fix unecessary. So I'll let this patch sit here for now. Once you've done the testing, can you please respond with the result (both positive and negative results please). Thanks Heiko