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>
This commit is contained in:
Nuno Sa
2024-01-29 17:13:25 +01:00
committed by Guenter Roeck
parent 35c1bfb99f
commit cbc29538db
6 changed files with 1930 additions and 0 deletions

View File

@@ -1038,6 +1038,17 @@ config SENSORS_LTC4261
This driver can also be built as a module. If so, the module will
be called ltc4261.
config SENSORS_LTC4282
tristate "Analog Devices LTC4282"
depends on I2C
select REGMAP_I2C
help
If you say yes here you get support for Analog Devices LTC4282
High Current Hot Swap Controller I2C interface.
This driver can also be built as a module. If so, the module will
be called ltc4282.
config SENSORS_LTQ_CPUTEMP
bool "Lantiq cpu temperature sensor driver"
depends on SOC_XWAY