linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
@ 2025-12-04 16:15 Nuno Sá via B4 Relay
  2025-12-04 16:15 ` [PATCH v4 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Nuno Sá via B4 Relay @ 2025-12-04 16:15 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), 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.

v4 is based in last linux-next (next-20251204) so that we get
field_prep()/get() for masks that are not compile time constants.

[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 v4:
- Patch 2
  * Drop driver's own mutex (now handled by the core).
- Patch 3
  * Refrased kconfig menu to "Auxiliary Bus GPIO drivers" as suggested;
  * Add blank line before including the headers;
  * Fix includes not in alphabetical order;
  * Dropped custom fied_prep()/get().
- Link to v3: https://lore.kernel.org/r/20251104-ltc4283-support-v3-0-4bea496f791d@analog.com

Changes in v3:
- Link to v2: https://lore.kernel.org/r/20250903-ltc4283-support-v2-0-6bce091510bf@analog.com

Changes in v2:
- Link to v1: https://lore.kernel.org/r/20250814-ltc4283-support-v1-0-88b2cef773f2@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                        |  215 +++
 drivers/hwmon/Kconfig                              |   12 +
 drivers/hwmon/Makefile                             |    1 +
 drivers/hwmon/ltc4283.c                            | 1719 ++++++++++++++++++++
 10 files changed, 2511 insertions(+)
---
base-commit: bc04acf4aeca588496124a6cf54bfce3db327039
change-id: 20250812-ltc4283-support-27c8c4e69c6b
--

Thanks!
- Nuno Sá



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

end of thread, other threads:[~2025-12-12 17:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 16:15 [PATCH v4 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller Nuno Sá via B4 Relay
2025-12-04 16:15 ` [PATCH v4 1/3] dt-bindings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
2025-12-04 16:15 ` [PATCH v4 2/3] hwmon: ltc4283: Add support for " Nuno Sá via B4 Relay
2025-12-06 18:40   ` Guenter Roeck
2025-12-12 16:34     ` Nuno Sá
2025-12-12 16:46       ` Guenter Roeck
2025-12-12 16:55         ` Nuno Sá
2025-12-12 17:21           ` Guenter Roeck
2025-12-12 17:31           ` Guenter Roeck
2025-12-11 17:56   ` Guenter Roeck
2025-12-12 16:50     ` Nuno Sá
2025-12-12 17:07       ` Guenter Roeck
2025-12-04 16:15 ` [PATCH v4 3/3] gpio: gpio-ltc4283: " Nuno Sá via B4 Relay
2025-12-10 23:46   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).