]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: fix temp-alarm probe failure for PMH0104 on Glymur
authorKamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Mon, 6 Apr 2026 13:35:55 +0000 (19:05 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:37:53 +0000 (14:37 -0500)
The temp-alarm driver probe is failing for the pmh0104 PMICs on glymur.

[    3.999713] spmi-temp-alarm c426000.spmi:pmic@8:temp-alarm@a00: error -ENODEV: failed to register sensor
[    4.015066] spmi-temp-alarm c426000.spmi:pmic@9:temp-alarm@a00: error -ENODEV: failed to register sensor
[    4.033908] spmi-temp-alarm c437000.spmi:pmic@b:temp-alarm@a00: error -ENODEV: failed to register sensor

This happens because thermal zone associated with the temp alarm was
defined under the thermal zones parent node which had a typo (used `_` in
place of `-`). Correct the typo to fix probe failure.

Fixes: 41b6e8db400c ("arm64: dts: qcom: Introduce Glymur base dtsi")
Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260406-glymur-pmh0104-temp-alarm-fix-v1-1-4441b7b01f85@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pmh0104-glymur.dtsi

index 7a1e5f355c175913a38d536a1ca13d870049b741..6b4747025b9f85d5fe58ee6ecfbe8d07b38d29fd 100644 (file)
@@ -7,7 +7,7 @@
 #include <dt-bindings/spmi/spmi.h>
 
 /{
-       thermal_zones {
+       thermal-zones {
                pmh0104_i0_thermal: pmh0104-i0-thermal {
                        polling-delay-passive = <100>;
                        thermal-sensors = <&pmh0104_i_e0_temp_alarm>;