From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC0F214A94 for ; Fri, 29 Dec 2023 22:08:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875a56.versanet.de ([83.135.90.86] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJL1o-0004Bc-LT; Fri, 29 Dec 2023 23:08:28 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Shantur Rathore Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, sigmaris@gmail.com, dsimic@manjaro.org, Shantur Rathore Subject: Re: [PATCH v2] dts: rockpro64: Remove usb regulator-always-on Date: Fri, 29 Dec 2023 23:08:27 +0100 Message-ID: <2323515.eGJsNajkDb@diego> In-Reply-To: <20231222141616.508073-1-i@shantur.com> References: <20231222141616.508073-1-i@shantur.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, Am Freitag, 22. Dezember 2023, 15:16:16 CET schrieb Shantur Rathore: > USB port regulators should be controlled by PHYs > so we remove always-on property and let PHYs manage the > regulator. > > phy-supply isn't sconfugred for the TypeC port and now that we are ^^ configured ? > removing regulator-always-on, we need to fix the phy-supply > so the PHYs are able to turn power to type-c port. > > Series-version: 2 > > Signed-off-by: Shantur Rathore > --- > arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > index bca2b50e0a..f7273f7990 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > @@ -192,7 +192,6 @@ vcc5v0_host: vcc5v0-host-regulator { > pinctrl-names = "default"; > pinctrl-0 = <&vcc5v0_host_en>; > regulator-name = "vcc5v0_host"; > - regulator-always-on; > vin-supply = <&vcc5v0_usb>; > }; > > @@ -203,7 +202,6 @@ vcc5v0_typec: vcc5v0-typec-regulator { > pinctrl-names = "default"; > pinctrl-0 = <&vcc5v0_typec_en>; > regulator-name = "vcc5v0_typec"; > - regulator-always-on; > vin-supply = <&vcc5v0_usb>; > }; > > @@ -859,6 +857,7 @@ &u2phy0 { > status = "okay"; > > u2phy0_otg: otg-port { > + phy-supply = <&vcc5v0_typec>; > status = "okay"; > }; Just to explain for me, what is supplying the "other" OTG port u2phy1_otg: otg-port {} in u2phy1 ... this one is status okay, but does not have any phy supply? Thanks Heiko