* [PATCH] arm64: dts: qcom: pm6150l: add missing adc channels
@ 2022-08-12 11:46 Luca Weiss
2022-08-29 23:46 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Luca Weiss @ 2022-08-12 11:46 UTC (permalink / raw)
To: linux-arm-msm
Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross,
Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
devicetree, linux-kernel
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>
---
arch/arm64/boot/dts/qcom/pm6150l.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi
index 7aa2ef90cb6a..f02c223ef448 100644
--- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi
@@ -20,10 +20,29 @@ pm6150l_adc: adc@3100 {
#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 {
--
2.37.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: qcom: pm6150l: add missing adc channels
2022-08-12 11:46 [PATCH] arm64: dts: qcom: pm6150l: add missing adc channels Luca Weiss
@ 2022-08-29 23:46 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-08-29 23:46 UTC (permalink / raw)
To: linux-arm-msm, luca.weiss
Cc: robh+dt, ~postmarketos/upstreaming, linux-kernel, konrad.dybcio,
phone-devel, krzysztof.kozlowski+dt, agross, devicetree
On Fri, 12 Aug 2022 13:46:15 +0200, Luca Weiss wrote:
> Add the missing adc channels and add pre-scaling property to die_temp
> channel, as per downstream dts.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: pm6150l: add missing adc channels
commit: ed3163b02a2c37744566d19fc451e6687aa2205d
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-29 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 11:46 [PATCH] arm64: dts: qcom: pm6150l: add missing adc channels Luca Weiss
2022-08-29 23:46 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®