]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: pmi8950: Add missing VADC channels
authorAntony Kurniawan Soemardi <linux@smankusors.com>
Sat, 4 Oct 2025 13:12:16 +0000 (13:12 +0000)
committerBjorn Andersson <andersson@kernel.org>
Fri, 17 Oct 2025 22:39:21 +0000 (15:39 -0700)
When booting msm8953-based devices, the following kernel message
appears:
[ 13.090800] qcom-spmi-vadc 200f000.spmi:pmic@2:adc@3100: Please define VDD channel

It turns out the pmi8950 uses same VDD and GND channels as other
Qualcomm's PMICs, so we can simply copy the channel definition from
the other Qualcomm's PMIC dtsi.

Signed-off-by: Antony Kurniawan Soemardi <linux@smankusors.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251004-fix-pmi8950-vadc-v1-1-3143ecab99e9@smankusors.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pmi8950.dtsi

index 3d3b1cd97cc3d04b2c5a78c06fbeb3fee3c5af8d..16e436b68a7c161b1afd4f3eac3d7d8564e40512 100644 (file)
                                qcom,pre-scaling = <1 1>;
                                label = "chg_temp";
                        };
+
+                       channel@e {
+                               reg = <VADC_GND_REF>;
+                       };
+
+                       channel@f {
+                               reg = <VADC_VDD_VADC>;
+                       };
                };
 
                pmi8950_mpps: mpps@a000 {