hwmon: (tc654) Add thermal_cooling device support
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 13 Feb 2022 00:47:33 +0000 (01:47 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:18 +0000 (17:03 -0800)
commit99cb5e9f7a78857657220f65533dce550331d629
treec2687e36867da71e098e5cabcf0e4dba7660017e
parent5f86cce61c1d12219b2ea25b9404bf263a77dd72
hwmon: (tc654) Add thermal_cooling device support

Adds thermal_cooling device support to the tc654/tc655
driver. This make it possible to integrate it into a
device-tree supported thermal-zone node as a
cooling device.

I have been using this patch as part of the Netgear WNDR4700
Centria NAS Router support within OpenWrt since 2016.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Link: https://lore.kernel.org/r/20220213004733.2421193-1-chunkeey@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tc654.c