Re: [PATCH 3/3] arm64: boot: dts: pmi8998.dtsi: Add VBUS regulator

Dmitry Baryshkov
2025-02-11T23:33:02Z

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@gmail.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@1000 {
> status = "disabled";
> };
>
> + pmi8998_vbus: usb-vbus-regulator@1100 {
> + compatible = "qcom,pmi8998-vbus-reg";
> + status = "disabled";
> + reg = <0x1100>;
> + };
> +
> pmi8998_gpios: gpio@c000 {
> compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
> reg = <0xc000>;
> --
> 2.43.0
>

--
With best wishes
Dmitry