Skip to content

hwmon: Add driver for LTC4284 - #3126

Closed
cjones-adi wants to merge 4 commits into
analogdevicesinc:mainfrom
cjones-adi:dev/ltc4284
Closed

cjones-adi wants to merge 4 commits into
analogdevicesinc:mainfrom
cjones-adi:dev/ltc4284

Conversation

@cjones-adi

@cjones-adi cjones-adi commented Feb 13, 2026 •

Copy link
Copy Markdown

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:

  • 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

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have compiled my changes, including the documentation
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly
  • I have provided links for the relevant upstream lore

@gastmaier
gastmaier marked this pull request as ready for review February 13, 2026 13:37
@cjones-adi
cjones-adi force-pushed the dev/ltc4284 branch 3 times, most recently from 969452b to 574f912 Compare February 16, 2026 06:55
@gastmaier
gastmaier marked this pull request as draft February 16, 2026 08:16
@nunojsa

nunojsa commented Feb 16, 2026

Copy link
Copy Markdown
Collaborator

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

@cjones-adi

Copy link
Copy Markdown
Author

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.

@cjones-adi

Copy link
Copy Markdown
Author

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, 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

Incompatibilities LTC4283 LTC4284
Register Access Dual reg map Unified reg map
Current Sensing Single channel Dual channel
ADC Implementation 12-bit fixed 16-bit gear-shift
Operation Modes Basic operation 4 complex dual-gate modes

Implementing abstraction layers will make the ltc4283.c harder to understand, maintain, and debug.

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>
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>
@actorreno actorreno mentioned this pull request Jun 2, 2026
4 of 8 tasks
@cjones-adi

Copy link
Copy Markdown
Author

Closing PR ( superseded by PR #3351 )

@cjones-adi cjones-adi closed this Jun 30, 2026
@actorreno actorreno mentioned this pull request Jul 21, 2026
4 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants