[PATCH v2,5/5] arm: dts: qcom: pm8226: Support SPMI regulators on PMIC sid 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The PM8226 PMIC has SPMI regulators on the PMIC SID 1:
add the spmi vregs compatible to probe them.

Suggested-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx>
Signed-off-by: Dominik Kobinski <dominikkobinski314@xxxxxxxxx>>
---
This patch is based on changes done in the following patches :
 - https://patchwork.kernel.org/project/linux-arm-msm/patch/20211118210210.160895-3-luca@xxxxxxxxx/
 - https://patchwork.kernel.org/project/linux-arm-msm/patch/20211122235230.2467246-1-jm5112356@xxxxxxxxx/
 - https://patchwork.kernel.org/project/linux-arm-msm/patch/20211123003256.2467776-1-jm5112356@xxxxxxxxx/

 arch/arm/boot/dts/qcom-pm8226.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi
index 25780c8fa2e9..49c2fac6f287 100644
--- a/arch/arm/boot/dts/qcom-pm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8226.dtsi
@@ -62,6 +62,10 @@ pm8226_1: pm8226@1 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
+		pm8226_spmi_regulators: pm8226-regulators {
+			compatible = "qcom,pm8226-regulators";
+		};
+
 		pm8226_vib: vibrator@c000 {
 			compatible = "qcom,pm8916-vib";
 			reg = <0xc000>;
-- 
2.34.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux