OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c752d49
)
arm64: dts: qcom: pm6150l: add missing adc channels
author
Luca Weiss
<luca.weiss@fairphone.com>
Fri, 12 Aug 2022 11:46:15 +0000
(13:46 +0200)
committer
Bjorn Andersson
<andersson@kernel.org>
Mon, 29 Aug 2022 21:36:31 +0000
(16:36 -0500)
Add the missing adc channels and add pre-scaling property to die_temp
channel, as per downstream dts.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link:
https://lore.kernel.org/r/20220812114614.1195679-1-luca.weiss@fairphone.com
arch/arm64/boot/dts/qcom/pm6150l.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/qcom/pm6150l.dtsi
b/arch/arm64/boot/dts/qcom/pm6150l.dtsi
index
7aa2ef9
..
f02c223
100644
(file)
--- a/
arch/arm64/boot/dts/qcom/pm6150l.dtsi
+++ b/
arch/arm64/boot/dts/qcom/pm6150l.dtsi
@@
-20,10
+20,29
@@
#size-cells = <0>;
#io-channel-cells = <1>;
+ adc-chan@0 {
+ reg = <ADC5_REF_GND>;
+ qcom,pre-scaling = <1 1>;
+ label = "ref_gnd";
+ };
+
+ adc-chan@1 {
+ reg = <ADC5_1P25VREF>;
+ qcom,pre-scaling = <1 1>;
+ label = "vref_1p25";
+ };
+
adc-chan@6 {
reg = <ADC5_DIE_TEMP>;
+ qcom,pre-scaling = <1 1>;
label = "die_temp";
};
+
+ adc-chan@83 {
+ reg = <ADC5_VPH_PWR>;
+ qcom,pre-scaling = <1 3>;
+ label = "vph_pwr";
+ };
};
pm6150l_adc_tm: adc-tm@3500 {