[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5efl5oppr5phgktwuk2n6rvdz37wuygdwsmrdqwh5gimofrrcq@qe6lena27emf>
Date: Wed, 12 Feb 2025 01:32:57 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: "James A. MacInnes" <james.a.macinnes@...il.com>
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, andersson@...nel.org, konradybcio@...nel.org,
quic_wcheng@...cinc.com, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
lgirdwood@...il.com, broonie@...nel.org
Subject: Re: [PATCH 3/3] arm64: boot: dts: pmi8998.dtsi: Add VBUS regulator
On Tue, Feb 11, 2025 at 11:49:16AM -0800, James A. MacInnes wrote:
> This patch adds support for the USB Type-C VBUS regulator to the
> PMI8998 PMIC device tree.
"In order to enable USB Type-C VBUS support on the SDM845 platform add
device node for the USB Vbus regulator to the PMI8998 PMIC device tree."
Drop the rest of the commit message.
>
> Key changes:
> - Defined the `usb-vbus-regulator` node for VBUS handling, enabling
> control over USB power delivery.
>
> This addition enable USB Type-C VBUS support on sdm845 platforms.
>
> Signed-off-by: James A. MacInnes <james.a.macinnes@...il.com>
> ---
> arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
> index cd3f0790fd42..8cb1d851b5a3 100644
> --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
> @@ -29,6 +29,12 @@ pmi8998_charger: charger@...0 {
> status = "disabled";
> };
>
> + pmi8998_vbus: usb-vbus-regulator@...0 {
> + compatible = "qcom,pmi8998-vbus-reg";
> + status = "disabled";
> + reg = <0x1100>;
> + };
> +
> pmi8998_gpios: gpio@...0 {
> compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
> reg = <0xc000>;
> --
> 2.43.0
>
--
With best wishes
Dmitry
Powered by blists - more mailing lists