Skip to content

Commit

Permalink
arm64: dts: qcom: pm6150l: add missing adc channels
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Luca Weiss authored and Bjorn Andersson committed Aug 29, 2022
1 parent c752d49 commit ed3163b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/arm64/boot/dts/qcom/pm6150l.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ed3163b

Please sign in to comment.