lkml.org 
[lkml]   [2022]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/6] arm64: dts: qcom: pmi8950: Add missing ADC channels
Date
These seem to have previously been excluded due to either not residing
on the test board, and/or lacking VADC_USB_DP/VADC_USB_DM definitions.
Now that the channel constants are included in dt-bindings, add the
channels to DT as well.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
---
arch/arm64/boot/dts/qcom/pmi8950.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pmi8950.dtsi b/arch/arm64/boot/dts/qcom/pmi8950.dtsi
index 7a857b2f3a5a..42a867685275 100644
--- a/arch/arm64/boot/dts/qcom/pmi8950.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8950.dtsi
@@ -69,6 +69,30 @@ adc-chan@d {
qcom,pre-scaling = <1 1>;
label = "chg_temp";
};
+
+ adc-chan@e {
+ reg = <VADC_GND_REF>;
+ qcom,pre-scaling = <1 1>;
+ label = "ref_gnd";
+ };
+
+ adc-chan@f {
+ reg = <VADC_VDD_VADC>;
+ qcom,pre-scaling = <1 1>;
+ label = "ref_vdd";
+ };
+
+ adc-chan@43 {
+ reg = <VADC_USB_DP>;
+ qcom,pre-scaling = <1 1>;
+ label = "usb_dp";
+ };
+
+ adc-chan@44 {
+ reg = <VADC_USB_DM>;
+ qcom,pre-scaling = <1 1>;
+ label = "usb_dm";
+ };
};

pmi8950_mpps: mpps@a000 {
--
2.39.0
\
 
 \ /
  Last update: 2022-12-15 00:22    [W:9.507 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site