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

This is v3 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.

Guenter, in [1] you can find some replies for some questions you had in
v2 that likely you don't remember anymore. Regarding the regmap story I
ended up adding a secong regmap for the 16 bit wide registers which
seems like a clean solution (if I'm not missing nothing).

[1]: https://lore.kernel.org/linux-hwmon/0765a0b89779331c62a3f136ef030f7f2f40ea47.camel@gmail.com/
[2]: https://lore.kernel.org/linux-iio/cover.1761588465.git.geert+renesas@glider.be/

---
Changes in v5:
- Patch 2:
  * Added a secong regmap for the 16bit wide registers;
  * Add default value for rsense so that we can probe without FW
    properties;
  * Make sure to give the right file permissions to the reset_history
    attrs.
- Patch 3:
  * Make sure to get the right regmap (given that the device now has 2);
  * Add error handling for getting the regmap.
- Link to v4: https://lore.kernel.org/r/20251204-ltc4283-support-v4-0-db0197fd7984@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                            | 1766 ++++++++++++++++++++
 10 files changed, 2561 insertions(+)
---
base-commit: bc04acf4aeca588496124a6cf54bfce3db327039
change-id: 20250812-ltc4283-support-27c8c4e69c6b
--

Thanks!
- Nuno Sá



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

end of thread, other threads:[~2026-02-21  1:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 12:21 [PATCH v5 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller Nuno Sá via B4 Relay
2025-12-23 12:21 ` [PATCH v5 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
2025-12-23 12:21 ` [PATCH v5 2/3] hwmon: ltc4283: Add support for " Nuno Sá via B4 Relay
2025-12-23 12:21 ` [PATCH v5 3/3] gpio: gpio-ltc4283: " Nuno Sá via B4 Relay
2026-01-18  0:27 ` [PATCH v5 0/3] hwmon: Add support for the LTC4283 Hot " Guenter Roeck
2026-01-18 10:12   ` Nuno Sá
2026-01-18 15:39     ` Guenter Roeck
2026-02-17 13:39   ` Nuno Sá
2026-02-21  1:17     ` Guenter Roeck
2026-01-27 17:39 ` Guenter Roeck
2026-01-28  9:44   ` Nuno Sá
2026-01-28 10:04     ` Guenter Roeck
2026-01-28 16:55       ` Guenter Roeck
2026-01-28 18:07         ` Nuno Sá
2026-01-28 18:22           ` Guenter Roeck
2026-02-02  9:40             ` Nuno Sá

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