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

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

I also feels this is basically "v1" so the changelog will be a bit more
generic.

Linus, I'm not using the gpio-regmap helpers because I'm using the
.init_valid_mask() callback and I don't think we can use it with the
gpio-regmap interface (unless I missed something). If you feel you
should change the interface to allow it, I can think on something for
v3.. 

---
Changes in v2:
- Dropped MFD related patches and bindings (now just one binding file
  for the hwmon device);
- Moved to the auxiliary bus; 
- Link to v1: https://lore.kernel.org/r/20250814-ltc4283-support-v1-0-88b2cef773f2@analog.com

---
Nuno Sá (3):
      dt-binbings: 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     |  280 ++++
 Documentation/hwmon/ltc4283.rst                    |  266 +++
 MAINTAINERS                                        |    9 +
 drivers/gpio/Kconfig                               |   10 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-ltc4283.c                        |  217 +++
 drivers/hwmon/Kconfig                              |   12 +
 drivers/hwmon/Makefile                             |    1 +
 drivers/hwmon/ltc4283.c                            | 1748 ++++++++++++++++++++
 9 files changed, 2544 insertions(+)
---
base-commit: 9703c672af8dd3573c76ce509dfff26bf6c4768d
change-id: 20250812-ltc4283-support-27c8c4e69c6b
--

Thanks!
- Nuno Sá



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

end of thread, other threads:[~2025-09-04 21:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 10:04 [PATCH v2 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller Nuno Sá via B4 Relay
2025-09-03 10:04 ` [PATCH v2 1/3] dt-binbings: hwmon: Document the LTC4283 " Nuno Sá via B4 Relay
2025-09-03 21:48   ` Rob Herring
2025-09-03 10:05 ` [PATCH v2 2/3] hwmon: ltc4283: Add support for " Nuno Sá via B4 Relay
2025-09-04 21:30   ` kernel test robot
2025-09-03 10:05 ` [PATCH v2 3/3] gpio: gpio-ltc4283: " Nuno Sá via B4 Relay
2025-09-03 11:26   ` Andy Shevchenko
2025-09-04  2:42   ` Randy Dunlap
2025-09-04 19:57   ` 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).