]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ltc2992) Add support for GPIOs.
authorAlexandru Tachici <alexandru.tachici@analog.com>
Thu, 3 Dec 2020 07:11:54 +0000 (09:11 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 11 Dec 2020 15:42:27 +0000 (07:42 -0800)
commite50ae317a5465821a6c5427176ac795c8cd179d4
tree6acd16da50938360735dec1d69d3a7ec7d7e41bd
parentbdb55c6913fc39da90e6895f3abb6424f70427b0
hwmon: (ltc2992) Add support for GPIOs.

LTC2992 has 4 open-drain GPIOS. This patch exports to user
space the 4 GPIOs using the GPIO driver Linux API.

Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
drivers/hwmon/ltc2992.c