ARM: dts: gemini: Add thermal zone to DIR-685
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 31 Dec 2019 17:18:08 +0000 (18:18 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Mar 2020 22:20:31 +0000 (23:20 +0100)
commit6e97f0aaca4ca778905dd1dc667cbf379f4cae15
tree26cb5c23793f6e350a384ae4f748dfeafa127c4f
parent67ac6549b70c0b208fdb4a169ba3686cb10db30b
ARM: dts: gemini: Add thermal zone to DIR-685

The DIR-685 can now exploit the thermal zone added by the
drive temperature sensor inside the hard drive. We have
patched the libata subsystem to assign the device nodes
properly to the SCSI devices and this is what the drivetemp
driver will use to populate the sensor and the thermal
zone, so pick that up into the thermal zone and let this
control the fan.

The hardware lacks an embedded temperature sensor so the
D-Link vendor firmware uses this method to control the
temperature of the NAS enclosure using the thermal sensor
inside the hard drive.

The drive temperature trigger points to be used comes from
the vendor firmware.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-dlink-dir-685.dts