From 516b0bcafe16d3efe04010419dbcc88f85612f71 Mon Sep 17 00:00:00 2001 From: David Collins Date: Fri, 14 Jan 2022 15:13:44 -0800 Subject: [PATCH] ARM: dts: msm: add DBO3 regulator device for Kalama boards Add a fixed regulator device for the DBO3 buck-boost regulator. It is enabled via PM8550 GPIO 9 and outputs 3.6 V. Change-Id: Ib831238aed99d8a95b3eee182463ac0a425b1749 --- qcom/kalama-pmic-overlay.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qcom/kalama-pmic-overlay.dtsi b/qcom/kalama-pmic-overlay.dtsi index 9c478c54..a1dbac8a 100644 --- a/qcom/kalama-pmic-overlay.dtsi +++ b/qcom/kalama-pmic-overlay.dtsi @@ -1,3 +1,4 @@ +#include #include #include "pm8550.dtsi" @@ -42,3 +43,15 @@ }; }; }; + +&soc { + DBO3: regulator-dbo3 { + compatible = "qti-regulator-fixed"; + regulator-name = "dbo3"; + regulator-min-microvolt = <3600000>; + regulator-max-microvolt = <3600000>; + gpio = <&pm8550_gpios 9 GPIO_ACTIVE_HIGH>; + regulator-enable-ramp-delay = <1500>; + enable-active-high; + }; +};