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>
Sun, 13 Feb 2022 15:28:33 +0000 (07:28 -0800)
commit4d49367c5303e3ebd17502a45b74de280f6be539
tree0fa3013ae5ca8deae600ab1d9ec63357f417196c
parent2991358ba5b77dfec4ffa556cb892b65fad7e7f9
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