]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cd25e80f26ced9f4913320a3a6b17cf54dded95
tree26cb5c23793f6e350a384ae4f748dfeafa127c4f
parent57aa081e4afde005580e1c871a0984faadc47861
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