hwmon: Add driver for LTC4284#3126
Conversation
522e71f to
c7e1c8b
Compare
Add device tree binding documentation for the Analog Devices LTC4284 High Power Negative Voltage Hot Swap Controller with Energy Monitor. The LTC4284 is designed for high power negative voltage hot swap applications, primarily in -48V distributed power systems, supporting up to 2500W applications with dual-gate operation modes, comprehensive voltage/current/power monitoring, and advanced protection features. Key features supported in binding: - Dual current sense resistor configuration - Configurable operation modes (single, parallel, staged start) - Voltage mode selection for various input ranges - Current limit and protection settings - Fault logging and retry configuration Signed-off-by: Carlos Jones <carlosjr.jones@analog.com>
b49839b to
969452b
Compare
Add driver for Analog Devices LTC4284 High Power Negative Voltage Hot Swap Controller with Energy Monitor. The LTC4284 is a high power hot swap controller designed for -48V distributed power systems supporting up to 2500W applications. It features dual-gate MOSFET drivers with multiple operation modes, comprehensive monitoring capabilities, and advanced protection. Key features: - Dual current sensing with independent sense resistors - Voltage, current, power, and energy monitoring - Four operation modes: single, parallel, staged start (high/low stress) - Programmable current limiting (15mV-30mV sense voltage range) - Min/max history tracking with reset capability - Comprehensive fault detection and logging - I2C interface with regmap support The driver integrates with the hwmon subsystem providing standard sysfs interfaces for monitoring and configuration. Device tree properties allow configuration of sense resistors, operation modes, voltage ranges, and protection settings. Signed-off-by: Carlos Jones <carlosjr.jones@analog.com>
Add the MAINTAINERS entry and hwmon documentation for the Analog Devices LTC4284 hwmon driver so maintainers and tooling (get_maintainer.pl) are notified and the binding/driver are documented. Signed-off-by: Carlos Jones <carlosjr.jones@analog.com>
Add entry for the LTC4284 driver in HWMON_ALL_ADI_DRIVERS to enable automatic inclusion when building all Analog Devices hwmon drivers. Signed-off-by: Carlos Jones <carlosjr.jones@analog.com>
969452b to
574f912
Compare
|
Hmm from a very quick view this looks very similar to: https://lore.kernel.org/linux-hwmon/20251223-ltc4283-support-v5-0-1152bff59a61@analog.com/ Please see if the above driver can be used to add support for the new part (it looks that way). I'll be sending a new version of the patch this weekl |
|
Hi @nunojsa , thanks for sharing. I was actually looking for a related part before this draft PR. The LTC4283 is definitely in the same family. Thanks. |
Hi @nunojsa, I've downloaded the patch and used AI to compare. The result is that their similarity ends on being negative voltage i2c devices. Here are the reasons they should be kept separate
Implementing abstraction layers will make the ltc4283.c harder to understand, maintain, and debug. |
PR Description
The LTC4284 is a high-power hot swap controller designed for -48V distributed power systems supporting up to 2500W applications. It features dual-gate MOSFET drivers with multiple operation modes, comprehensive monitoring capabilities, and advanced protection.
Datasheet: LTC4284
Key features:
PR Type
PR Checklist