hwmon: Add driver for LTC4282
authorNuno Sa <nuno.sa@analog.com>
Mon, 29 Jan 2024 16:13:25 +0000 (17:13 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:10 +0000 (12:37 -0800)
commitcbc29538dbf7d7400f1ffc5dd5713e6a551463a0
tree0c6db266e8af5acff95da07e9c2dfbd4751629f1
parent35c1bfb99fef9c71f9df5c1325db99a79300bc97
hwmon: Add driver for LTC4282

The LTC4282 hot swap controller allows a board to be safely inserted and
removed from a live backplane. Using one or more external N-channel pass
transistors, board supply voltage and inrush current are ramped up at an
adjustable rate. An I2C interface and onboard ADC allows for monitoring
of board current, voltage, power, energy and fault status.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240129-b4-ltc4282-support-v4-3-fe75798164cc@analog.com
[groeck: clamp value range in ltc4282_write_voltage_byte_cached()]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/index.rst
Documentation/hwmon/ltc4282.rst [new file with mode: 0644]
MAINTAINERS
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/ltc4282.c [new file with mode: 0644]