]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: dts: meson: drop iio-hwmon in favour of generic-adc-thermal
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 8 Nov 2025 21:15:03 +0000 (22:15 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 7 Jan 2026 14:02:40 +0000 (15:02 +0100)
commit5ea75722eaec226c60472dc578a302aae1d1fa3e
treebe44ef8083d0acb69c7b775390e197dd2a7c0acc
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
ARM: dts: meson: drop iio-hwmon in favour of generic-adc-thermal

Commit 85b21fdec906e ("thermal/drivers/generic-adc: Register thermal
zones as hwmon sensors") made "generic-adc-thermal" also register hwmon
attributes. That means we now have the temperature sensor shown twice:
- once from iio-hwmon
- and another time from generic-adc-thermal

We need the latter for SoC temperature control, so simply drop the
former so userspace doesn't see duplicate sensors. Also
generic-adc-thermal provides a better name to userspace
("soc_thermal-virtual-0") than iio_hwmon.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20251108211503.1578711-1-martin.blumenstingl@googlemail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/boot/dts/amlogic/meson.dtsi