Re: [PATCH v5 1/2] dt-bindings: iio: adc: add maxim,max40080
From: Siratul Islam
Date: Thu Jul 23 2026 - 12:36:27 EST
On Thu, 2026-07-23 at 09:50 +0300, 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@xxxxxxxxxx>
> ---
>
...
> +
> +title: Maxim MAX40080 bidirectional current-sense amplifier
> +
> +maintainers:
> + - Ciprian Hegbeli <ciprian.hegbeli@xxxxxxxxxx>
> + - Stefan Popa <stefan.popa@xxxxxxxxxx>
> +
> +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
This URL links to a product page rather than a datasheet as the tag suggests.
Would be difficult to fetch using CLI tools.
Were you supposed to use something like
"https://www.analog.com/media/en/technical-documentation/data-sheets/MAX40080.pdf"?
> +
>
...
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + adc@20 {
> + compatible = "maxim,max40080";
> + reg = <0x20>;
> + #io-channel-cells = <1>;
> + shunt-resistor-micro-ohms = <100000>;
> + };
> + };
--
Best regards,
Sirat