]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit993bdfd67e66349da2d5807d482678a80330d95b
treec2687e36867da71e098e5cabcf0e4dba7660017e
parentff9811928d3c6ab7318739565d98b7be7bf51fc4
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