Thread (16 messages) 16 messages, 4 authors, 2026-04-15

Re: [PATCH 3/3] arm64: dts: qcom: pm660: add thermal monitor

From: Richard Acayan <hidden>
Date: 2026-02-11 02:24:23
Also in: linux-arm-msm, linux-pm

On Tue, Feb 10, 2026 at 10:59:20AM +0100, Konrad Dybcio wrote:
On 2/10/26 3:18 AM, Richard Acayan wrote:
(snip)
quoted
+		pm660_adc_tm: adc-tm@3400 {
+			compatible = "qcom,spmi-adc-tm-hc";
+			reg = <0x3400>;
+			interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
+			#thermal-sensor-cells = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
Can we enable it by default?
No, the thermal monitor fails to probe if it doesn't have any channels:

	[   17.728926] qcom-spmi-adc-tm5 c440000.spmi:pmic@0:adc-tm@3400: error -EINVAL: get dt data failed
	[   17.728945] qcom-spmi-adc-tm5 c440000.spmi:pmic@0:adc-tm@3400: probe with driver qcom-spmi-adc-tm5 failed with error -22

Triggered by https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/thermal/qcom/qcom-spmi-adc-tm5.c?h=next-20260209#n945
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help