]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: exynos: correct TMU phandle in Odroid HC1
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 9 Feb 2023 10:58:40 +0000 (11:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:24 +0000 (09:34 +0100)
commit2753111fc3926a36220f17e6b3362249b2deac8c
treeb34fc813e3fc47a17f007a53f8f236fe7f363aa0
parent0798a9a6780b061b7c8c73e7509079ebf411cff7
ARM: dts: exynos: correct TMU phandle in Odroid HC1

commit 8e1fc7e5de6f4a2cb8ea8cb254f5f26b9fc147a1 upstream.

TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing
it must not have an argument to phandle.  This was not critical before,
but since rework of thermal Devicetree initialization in the
commit dd586652311a ("thermal/of: Rework the thermal device tree
initialization"), this leads to errors registering thermal zones other
than first one:

  thermal_sys: cpu0-thermal: Failed to read thermal-sensors cells: -2
  thermal_sys: Failed to find thermal zone for tmu id=0
  exynos-tmu 10064000.tmu: Failed to register sensor: -2
  exynos-tmu: probe of 10064000.tmu failed with error -2

Fixes: 9da0a90f424d ("ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230209105841.779596-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/exynos5422-odroidhc1.dts