From: "Nuno Sá via B4 Relay" <devnull+nuno.sa.analog.com@kernel.org>
To: linux-hwmon@vger.kernel.org, linux-gpio@vger.kernel.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Jonathan Corbet <corbet@lwn.net>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
"Rob Herring (Arm)" <robh@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>
Subject: [PATCH v4 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
Date: Thu, 04 Dec 2025 16:15:25 +0000 [thread overview]
Message-ID: <20251204-ltc4283-support-v4-0-db0197fd7984@analog.com> (raw)
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á
next reply other threads:[~2025-12-04 16:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-04 16:15 Nuno Sá via B4 Relay [this message]
2025-12-04 16:15 ` [PATCH v4 1/3] dt-bindings: hwmon: Document the LTC4283 Swap Controller 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251204-ltc4283-support-v4-0-db0197fd7984@analog.com \
--to=devnull+nuno.sa.analog.com@kernel.org \
--cc=brgl@bgdev.pl \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).