dt-bindings: thermal: loongson,ls2k-thermal: Fix binding check issues
authorBinbin Zhou <zhoubinbin@loongson.cn>
Fri, 24 Nov 2023 09:57:44 +0000 (17:57 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jan 2024 08:33:18 +0000 (09:33 +0100)
commit88071e31e994ee23356674e0c5461b25e2a95cdc
tree11134142bf09847520bc511fc89e0f4d60175a67
parent788494ba09992f6bc1c50327afdd1c861113fbe4
dt-bindings: thermal: loongson,ls2k-thermal: Fix binding check issues

Add the missing 'thermal-sensor-cells' property which is required for
every thermal sensor as it's used when using phandles.
And add the thermal-sensor.yaml reference.

In fact, it was a careless mistake when submitting the driver that
caused it to not work properly. So the fix is necessary, although it
will result in the ABI break.

Fixes: 72684d99a854 ("thermal: dt-bindings: add loongson-2 thermal")
Cc: Yinbo Zhu <zhuyinbo@loongson.cn>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/6d69362632271ab0af9a5fbfa3bc46a0894f1d54.1700817227.git.zhoubinbin@loongson.cn
Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml