|
|
Log in / Subscribe / Register

hwmon: Add support for the LTC4283 Hot Swap Controller

From:  Nuno Sá via B4 Relay <devnull+nuno.sa.analog.com-AT-kernel.org>
To:  linux-gpio-AT-vger.kernel.org, linux-hwmon-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org
Subject:  [PATCH v8 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
Date:  Fri, 27 Mar 2026 17:26:13 +0000
Message-ID:  <20260327-ltc4283-support-v8-0-471de255d728@analog.com>
Cc:  Guenter Roeck <linux-AT-roeck-us.net>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Jonathan Corbet <corbet-AT-lwn.net>, Linus Walleij <linusw-AT-kernel.org>, Bartosz Golaszewski <brgl-AT-kernel.org>, Bartosz Golaszewski <brgl-AT-kernel.org>
Archive-link:  Article

This is v8 for the LTC4283 how swap controller. 

Similar to the LTC4282 device, we're clearing some fault logs in the
reset_history attributes.

---
Changes in v8:
- Patch 1:
   * Improved descriptin in adi,fet-turn-off-disable so it's more clear;
   * Same for adi,dvdt-inrush-control-disable;
   * Fixed typo in adi,external-fault-retry-enable description.
- Patch 2:
   * Use return value from clamp_val();
   * Add missing 'ret < 0' for device_property_match_property_string()
     calls;
   * Fixed logic in when adi,vpower-drns-enable is enabled;
   * Check default state of the pgio4 pin. So that we can, accordingly
     flag st->ext_fault.
- Link to v7: https://lore.kernel.org/linux-hwmon/20260314-ltc4283-supp... 
---

---
Nuno Sá (3):
      dt-bindings: hwmon: Document the LTC4283 Swap Controller
      hwmon: ltc4283: Add support for the LTC4283 Swap Controller
      gpio: gpio-ltc4283: Add support for the LTC4283 Swap Controller

 .../devicetree/bindings/hwmon/adi,ltc4283.yaml     |  272 +++
 Documentation/hwmon/index.rst                      |    1 +
 Documentation/hwmon/ltc4283.rst                    |  266 +++
 MAINTAINERS                                        |    9 +
 drivers/gpio/Kconfig                               |   15 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-ltc4283.c                        |  218 +++
 drivers/hwmon/Kconfig                              |   12 +
 drivers/hwmon/Makefile                             |    1 +
 drivers/hwmon/ltc4283.c                            | 1796 ++++++++++++++++++++
 10 files changed, 2591 insertions(+)
---
base-commit: cd041796c380961f0e3c04d9627af80131608adc
change-id: 20260303-ltc4283-support-063f78acc5a4
--

Thanks!
- Nuno Sá





Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds