Linux Documentation
 help / color / mirror / Atom feed
From: "Nuno Sá via B4 Relay" <devnull+nuno.sa.analog.com@kernel.org>
To: linux-gpio@vger.kernel.org, linux-hwmon@vger.kernel.org,
	 devicetree@vger.kernel.org, linux-doc@vger.kernel.org
Cc: "Guenter Roeck" <linux@roeck-us.net>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Jonathan Corbet" <corbet@lwn.net>,
	"Shuah Khan" <skhan@linuxfoundation.org>,
	"Linus Walleij" <linusw@kernel.org>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Bartosz Golaszewski" <brgl@kernel.org>
Subject: [PATCH v7 0/3] hwmon: Add support for the LTC4283 Hot Swap Controller
Date: Sat, 14 Mar 2026 10:52:18 +0000	[thread overview]
Message-ID: <20260314-ltc4283-support-v7-0-1cda48e93802@analog.com> (raw)

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á



             reply	other threads:[~2026-03-14 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-14 10:52 Nuno Sá via B4 Relay [this message]
2026-03-14 10:52 ` [PATCH v7 1/3] dt-bindings: hwmon: Document the LTC4283 Swap Controller 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

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=20260314-ltc4283-support-v7-0-1cda48e93802@analog.com \
    --to=devnull+nuno.sa.analog.com@kernel.org \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linusw@kernel.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 \
    --cc=skhan@linuxfoundation.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