From: David Lechner <dlechner@baylibre.com>
To: Stefan Popa <stefan.popa@analog.com>, linux-iio@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, jic23@kernel.org, andy@kernel.org,
nuno.sa@analog.com, linux@roeck-us.net, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
ciprian.hegbeli@analog.com, siratul.islam@linux.dev,
u.kleine-koenig@baylibre.com
Subject: Re: [PATCH v5 1/2] dt-bindings: iio: adc: add maxim,max40080
Date: Sun, 26 Jul 2026 10:37:49 -0500 [thread overview]
Message-ID: <39bac146-227f-4155-a80a-78b84a89ef20@baylibre.com> (raw)
In-Reply-To: <20260723065036.2683075-2-stefan.popa@analog.com>
On 7/23/26 1:50 AM, Stefan Popa wrote:
> Add device tree bindings for the Maxim MAX40080 bidirectional
> current-sense amplifier with a 12-bit ADC and an I2C/SMBus interface.
>
> Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> ---
> .../bindings/iio/adc/maxim,max40080.yaml | 56 +++++++++++++++++++
> 1 file changed, 56 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/maxim,max40080.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max40080.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max40080.yaml
> new file mode 100644
> index 0000000000000..170bf4eff8706
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max40080.yaml
> @@ -0,0 +1,56 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/adc/maxim,max40080.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Maxim MAX40080 bidirectional current-sense amplifier
> +
> +maintainers:
> + - Ciprian Hegbeli <ciprian.hegbeli@analog.com>
> + - Stefan Popa <stefan.popa@analog.com>
> +
> +description: |
> + The MAX40080 is a high-precision, bidirectional current-sense amplifier with
> + an integrated 12-bit ADC and an I2C/SMBus interface. It measures the voltage
> + across an external shunt resistor and the input bus voltage, and stores the
> + results in an internal FIFO.
> +
> + Datasheet:
> + https://www.analog.com/en/products/max40080.html
> +
> +properties:
> + compatible:
> + const: maxim,max40080
adi, (the part is owned by ADI now)
> +
> + reg:
> + maxItems: 1
> +
> + "#io-channel-cells":
> + const: 1
> +
> + shunt-resistor-micro-ohms:
> + description:
> + Value of the current-sense shunt resistor connected between the IN+ and
> + IN- inputs. Used to scale the reported current.
> +
Missing vdd-supply for power and interrupts for ALERT_ output.
> +required:
> + - compatible
> + - reg
> + - shunt-resistor-micro-ohms
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + adc@20 {
> + compatible = "maxim,max40080";
> + reg = <0x20>;
> + #io-channel-cells = <1>;
> + shunt-resistor-micro-ohms = <100000>;
> + };
> + };
next prev parent reply other threads:[~2026-07-26 15:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 6:50 [PATCH v5 0/2] iio: adc: add MAX40080 current-sense amplifier driver Stefan Popa
2026-07-23 6:50 ` [PATCH v5 1/2] dt-bindings: iio: adc: add maxim,max40080 Stefan Popa
2026-07-23 7:04 ` sashiko-bot
2026-07-23 16:23 ` Siratul Islam
2026-07-25 23:31 ` Jonathan Cameron
2026-07-26 9:59 ` Siratul Islam
2026-07-26 13:46 ` Guenter Roeck
2026-07-23 16:40 ` Conor Dooley
2026-07-26 15:37 ` David Lechner [this message]
2026-07-23 6:50 ` [PATCH v5 2/2] iio: adc: add MAX40080 current-sense amplifier driver Stefan Popa
2026-07-23 7:06 ` sashiko-bot
2026-07-23 17:21 ` Siratul Islam
2026-07-25 23:58 ` Jonathan Cameron
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=39bac146-227f-4155-a80a-78b84a89ef20@baylibre.com \
--to=dlechner@baylibre.com \
--cc=andy@kernel.org \
--cc=ciprian.hegbeli@analog.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=siratul.islam@linux.dev \
--cc=stefan.popa@analog.com \
--cc=u.kleine-koenig@baylibre.com \
/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