Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v7 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
@ 2026-03-14 10:52 Nuno Sá via B4 Relay
  2026-03-14 10:52 ` [PATCH v7 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Nuno Sá via B4 Relay @ 2026-03-14 10:52 UTC (permalink / raw)
  To: linux-gpio, linux-hwmon, devicetree, linux-doc
  Cc: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Jonathan Corbet, Shuah Khan, Linus Walleij, Bartosz Golaszewski,
	Nuno Sá, Bartosz Golaszewski

This is v7 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 v7:
 - Patch 2:
    * Initialize raw energy to 0;
    * Clamp power val;
    * Handle BIT(8) edge case in ltc4283_write_in_byte();
    * Clamp ISENSE according to vsense_max;
    * Fix ltc4283_write_curr_history() by converting vsense_max to
      micro;
    * Fix default rsense value (expected to be in nano ohm);
    * Terminate table in sysfs attrs.
Link to v6: 
  - https://lore.kernel.org/linux-hwmon/20260303-ltc4283-support-v6-0-efe11502fad2@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                    |  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                            | 1787 ++++++++++++++++++++
 10 files changed, 2582 insertions(+)
---
base-commit: 33f9280f8a3a1b8e1df9ab1ff4f9d2654f434f3c
change-id: 20260314-ltc4283-support-61a09e365659
--

Thanks!
- Nuno Sá



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

end of thread, other threads:[~2026-03-23 16:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 10:52 [PATCH v7 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller Nuno Sá via B4 Relay
2026-03-14 10:52 ` [PATCH v7 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
2026-03-16 15:59   ` Guenter Roeck
2026-03-23 10:31     ` Nuno Sá
2026-03-23 14:33       ` Guenter Roeck
2026-03-23 15:17         ` Nuno Sá
2026-03-23 15:27           ` Guenter Roeck
2026-03-23 16:07             ` Nuno Sá
2026-03-14 10:52 ` [PATCH v7 2/3] hwmon: ltc4283: Add support for " Nuno Sá via B4 Relay
2026-03-18  1:17   ` Guenter Roeck
2026-03-23 10:21     ` Nuno Sá
2026-03-14 10:52 ` [PATCH v7 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