From: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
To: "Nuno Sá" <nuno.sa@analog.com>,
"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>,
"Randy Dunlap" <rdunlap@infradead.org>,
"Linus Walleij" <linusw@kernel.org>,
"Bartosz Golaszewski" <brgl@kernel.org>
Cc: <linux-gpio@vger.kernel.org>, <linux-hwmon@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-doc@vger.kernel.org>,
Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
Subject: [PATCH 1/3] dt-bindings: hwmon: ltc4283: add ltc4284
Date: Wed, 4 Nov 2026 11:30:00 +0800 [thread overview]
Message-ID: <20261104-staging-ltc4284-v1-1-49fce67ebc48@analog.com> (raw)
In-Reply-To: <20261104-staging-ltc4284-v1-0-49fce67ebc48@analog.com>
The LTC4284 is a negative voltage hot swap controller that drives an
external N-channel MOSFET to allow a board to be safely inserted and
removed from a live backplane.
Note that this device has a MODE pin that is determined by differing
voltage levels (VEE, VIN, INTVCC, or left open) and cannot be
controlled via software or GPIO.
Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
---
.../devicetree/bindings/hwmon/adi,ltc4283.yaml | 57 ++++++++++++++++++++--
1 file changed, 53 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc4283.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc4283.yaml
index 05e2132ad4d8621ab76ee89aa166c131fed08e85..c850390ddc4a33ed3fd877bf4620f7f009366ff5 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,ltc4283.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,ltc4283.yaml
@@ -10,22 +10,42 @@ maintainers:
- Nuno Sá <nuno.sa@analog.com>
description: |
- The LTC4283 negative voltage hot swap controller drives an external N-channel
- MOSFET to allow a board to be safely inserted and removed from a live
- backplane.
+ The LTC4283 and LTC4284 are negative voltage hot swap controllers that drive
+ external N-channel MOSFETs to allow a board to be safely inserted and removed
+ from a live backplane.
+
+ The LTC4284 features dual-gate drivers with four operating modes (single
+ driver, parallel, high stress staged start, and low stress staged start)
+ configured via the hardware MODE pin. The MODE pin must be connected to the
+ appropriate voltage level (VEE, VIN, INTVCC, or left open) and cannot be
+ controlled via software or GPIO.
https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4283.pdf
+ https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4284.pdf
properties:
compatible:
enum:
- adi,ltc4283
+ - adi,ltc4284
reg:
maxItems: 1
adi,rsense-nano-ohms:
- description: Value of the sense resistor.
+ description:
+ Value of the sense resistor. For LTC4283, this is the resistor connected
+ between SENSE+/SENSE- pins. For LTC4284, this is the resistor connected
+ between SENSE1+/SENSE1- pins.
+
+ adi,rsense2-nano-ohms:
+ description:
+ Value of the SENSE2 current sense resistor. This resistor is connected
+ between SENSE2+ and SENSE2- pins.
+
+ adi,radc-nano-ohms:
+ description:
+ Value of the effective resistance seen by the ADC+/ADC- pins.
adi,current-limit-sense-microvolt:
description:
@@ -195,6 +215,20 @@ required:
- adi,rsense-nano-ohms
allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: adi,ltc4284
+ then:
+ required:
+ - adi,rsense2-nano-ohms
+ - adi,radc-nano-ohms
+ else:
+ properties:
+ adi,rsense2-nano-ohms: false
+ adi,radc-nano-ohms: false
+
- if:
properties:
adi,pgio1-func:
@@ -269,4 +303,19 @@ examples:
#gpio-cells = <2>;
};
};
+
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ swap-controller@20 {
+ compatible = "adi,ltc4284";
+ reg = <0x20>;
+
+ adi,rsense-nano-ohms = <1000>;
+ adi,rsense2-nano-ohms = <1000>;
+ adi,radc-nano-ohms = <500>;
+ };
+ };
...
--
2.34.1
next prev parent reply other threads:[~2026-11-04 3:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 3:29 [PATCH 0/3] Supporting LTC4284 which is a negative voltage hotswap controller Alexis Czezar Torreno
2026-11-04 3:30 ` Alexis Czezar Torreno [this message]
2026-11-04 3:30 ` [PATCH 2/3] hwmon: ltc4283: Add support for the LTC4284 swap controller Alexis Czezar Torreno
2026-11-04 3:30 ` [PATCH 3/3] gpio: gpio-ltc4283: Add support for the LTC4284 Swap Controller Alexis Czezar Torreno
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=20261104-staging-ltc4284-v1-1-49fce67ebc48@analog.com \
--to=alexisczezar.torreno@analog.com \
--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-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=nuno.sa@analog.com \
--cc=rdunlap@infradead.org \
--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
all inboxes | Powered by JetHome®