Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6286636ybn; Sun, 29 Sep 2019 16:47:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGWg7CJL14zLECIx/1fVGmtL6BVzr+pDz/Q+wL5btY2Gukvy6S7XNig9H2RDwaeGnttsHS X-Received: by 2002:a17:906:c7d4:: with SMTP id dc20mr17002550ejb.235.1569800822401; Sun, 29 Sep 2019 16:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569800822; cv=none; d=google.com; s=arc-20160816; b=uvTPrRhY7hZhusyzFbEsicKItLH8SKC38D9LLgfnZB2Mb6GJxEyU4lTy4BV2ry24XX eHbwkkBYecbMPgW0L38Asuvyyfk/pXh+IF4JvlTc7MkcAvEEvT4ovBn5fkKFiO0Htjja twBqfy8tqVL5eHW0xLToXI58bwS526BmonjHBjWy3cW2VZUPD0wybBh1PvL9FWteNkkX mEWkbd2M1fUneapK7IagOYhGBYjydPglneZH4OIlM4UrD7qJld0CkttkG3dsiSte+QcM 2Yb5BU3/5ZLC61Bh7iHanMWDlQT6v3450vbnWSjNVdKdLbZQzmrCY7ocMKMhb3lxgiiY BnIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9IjuVXfjyC+Q3EgkfLoZRHzj7hful0PTkZcBqQey3BU=; b=wsrliPVDBr+RkQtmWRlMztY86R4TilKZQHeC7XLPUJ9l8S+fdQi5x/L/GFRIB6OZne 9dSYQ+yOk9ew2DXI0mGpbXthsY2/4xgZG95sfc2oc+d2jFrE91PlS0Sanhqos5LzHo85 lW2JRGeaZHlCXko5NNYpYyitAMap/aLWpIJcYa3F0Rlg2ey+ftqPAL0FwSsxGz/h8H0D fXvul7N4CqfvZkYjiCiTXonIAwM1afF95syFcrhulCHOu54Ql8t4PyM+N7tSftMZX6xT MkrtYYT7RNUmWCvQ9YIA1tFljOV1dfbFS/DDS4fC3k7RH2YS1UsgNXO5GiqLA4/6NHlw J4Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgOkqUXG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si6125432ejw.335.2019.09.29.16.46.24; Sun, 29 Sep 2019 16:47:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgOkqUXG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729179AbfI2XqV (ORCPT + 99 others); Sun, 29 Sep 2019 19:46:21 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39539 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfI2XqU (ORCPT ); Sun, 29 Sep 2019 19:46:20 -0400 Received: by mail-qt1-f195.google.com with SMTP id n7so14704800qtb.6; Sun, 29 Sep 2019 16:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9IjuVXfjyC+Q3EgkfLoZRHzj7hful0PTkZcBqQey3BU=; b=WgOkqUXG/IOsCK1v46IkgYuvCCXlWivbA0/c8I3P1LW9SLM09h//IDxsINvCoNLie1 d2uDzX0BimZmK66AyDUtq4ykya65Xw7IM43b5alZxJ6Bj4GSCxD/hznZReZ+zKZKcjnW 32ER5J6DTGckGj+qW2ka0ox7QFqlyfL11PLQ6onHceTt7/mxI6u6G7ArnYeq9ad3PyZG fTePApuiq8DXfLot28KFYxlHH/PoJ4FZSJzGQPl5+gejE1YAeeSNrfgue6W8MbxenL3w 0YHyQ/tlYHv2h/6F+e+b8mDM6hZXe+sEJBwENssePuU7yxUAt54Pmic+/221kiWZY6iy oUZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=9IjuVXfjyC+Q3EgkfLoZRHzj7hful0PTkZcBqQey3BU=; b=QYalZ82IQlTBOHYDrnrUPjrw7d2jCG+T7F1ARTCC4KfMtd3fsQQ/V6YK1YY60L01Wj eX0ZO5LV84JoE/5qhyN5+lWRlDHFc5XA9NeJOIk7kjSXzSKBFOocPThUWJi11cWTjxtr asucc3jBAwqIE18RIC086HPp+7SRQI+ypJps1EMFUi8HJjNcGaZ6aa7Y9XMRe6KuThXc x0LQcmdIgfjqtrcsmf/6PxmFw4wPBFZqNb9q/MlXOtix9A3VZffqciqVJhQHU8GE4XhN DnXcQndICANHUxqcMDaqoSiSKoJoB45pz8hLTLsBw99dpByUBoc96uNKhRVbuKn5nLG2 NcJw== X-Gm-Message-State: APjAAAWstWj7o94+EhvGKXkgdthMT63+/MOnCHEaPP/KA3uvgEiz3/6e JbpNdedSAZ24E4XXwz8ai/E= X-Received: by 2002:a0c:c48e:: with SMTP id u14mr18611626qvi.37.1569800779344; Sun, 29 Sep 2019 16:46:19 -0700 (PDT) Received: from vivek-desktop (ool-457857f8.dyn.optonline.net. [69.120.87.248]) by smtp.gmail.com with ESMTPSA id m14sm4585875qki.27.2019.09.29.16.46.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Sep 2019 16:46:18 -0700 (PDT) Date: Sun, 29 Sep 2019 19:46:15 -0400 From: Vivek Unune To: Vicente Bergas Cc: robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de, 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 Message-ID: <20190929234615.GA5355@vivek-desktop> References: <20190929032230.24628-1-npcomplete13@gmail.com> <54c67ca8-8428-48ee-9a96-e1216ba02839@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54c67ca8-8428-48ee-9a96-e1216ba02839@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Vivek