]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: pmi8950: add LAB-IBB nodes
authorNeil Armstrong <neil.armstrong@linaro.org>
Fri, 15 Nov 2024 10:20:53 +0000 (11:20 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 8 Jan 2025 22:41:34 +0000 (16:41 -0600)
Add the PMI8950 LAB-IBB regulator nodes, with the
PMI8998 compatible as fallback.

The LAB-IBB regulators are used as panels supplies
on existing phones or tablets.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241115-topic-sdm450-upstream-lab-ibb-v1-1-8a8e74befbfe@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pmi8950.dtsi

index 4aff437263a2930489216c81c53e0d7ef7d14b35..3d3b1cd97cc3d04b2c5a78c06fbeb3fee3c5af8d 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               labibb {
+                       compatible = "qcom,pmi8950-lab-ibb",
+                                    "qcom,pmi8998-lab-ibb";
+
+                       ibb: ibb {
+                               interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
+                                            <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
+                               interrupt-names = "sc-err", "ocp";
+                       };
+
+                       lab: lab {
+                               interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
+                                            <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
+                               interrupt-names = "sc-err", "ocp";
+                       };
+               };
+
                pmi8950_pwm: pwm {
                        compatible = "qcom,pmi8950-pwm";
                        #pwm-cells = <2>;