public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
@ 2026-03-03 17:00 Nuno Sá via B4 Relay
  2026-03-03 17:00 ` [PATCH v6 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nuno Sá via B4 Relay @ 2026-03-03 17:00 UTC (permalink / raw)
  To: linux-gpio, linux-hwmon, devicetree, linux-doc
  Cc: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Jonathan Corbet, Linus Walleij, Bartosz Golaszewski,
	Bartosz Golaszewski

This is v6 for the LTC4283 how swap controller. Main change is that I'm
now using the auxiliary bus for adding the GPIO device (done depending
on FW properties).

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

---
Changes in v6:
- Patch 2:
  * Rework regmap to use single regmap with custom regmap_bus
    (lm75-style);
  * Add explicit i2c func checks;
  * Make sure page support is enabled for energy reads;
  * Fix MODULE_DESCRIPTION: "How Swap" -> "Hot Swap";
  * Remove #include <linux/hwmon-sysfs.h> (unused);
  * Fix commit message: "How Swap Controller" -> "Hot Swap Controller";
  * Fix "Addresses scanned" section in docs (no .detect() supported).

- Patch 3:
  * Fix typo: LTC42823_ADIO_CONFIG -> LTC4283_ADIO_CONFIG.
 
- Link to v5: https://lore.kernel.org/linux-hwmon/20251223-ltc4283-support-v5-0-1152bff59a61@analog.com/

---

---
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                    |  265 +++
 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                            | 1780 ++++++++++++++++++++
 10 files changed, 2574 insertions(+)
---
base-commit: 78558965440b27814592ec82d8f3668395953b1b
change-id: 20260303-ltc4283-support-063f78acc5a4
--

Thanks!
- Nuno Sá



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-11 10:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 17:00 [PATCH v6 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller Nuno Sá via B4 Relay
2026-03-03 17:00 ` [PATCH v6 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
2026-03-03 17:00 ` [PATCH v6 2/3] hwmon: ltc4283: Add support for " Nuno Sá via B4 Relay
2026-03-04 11:05   ` kernel test robot
2026-03-04 12:20     ` Nuno Sá
2026-03-06 17:41   ` Guenter Roeck
2026-03-11 10:32     ` Nuno Sá
2026-03-03 17:00 ` [PATCH v6 3/3] gpio: gpio-ltc4283: " Nuno Sá via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox