Devicetree
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Siratul Islam <siratul.islam@linux.dev>
Cc: Stefan Popa <stefan.popa@analog.com>,
	linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	andy@kernel.org, nuno.sa@analog.com, linux@roeck-us.net,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	dlechner@baylibre.com, ciprian.hegbeli@analog.com,
	u.kleine-koenig@baylibre.com
Subject: Re: [PATCH v5 1/2] dt-bindings: iio: adc: add maxim,max40080
Date: Sun, 26 Jul 2026 00:31:52 +0100	[thread overview]
Message-ID: <20260726003152.1d9f36d5@jic23-huawei> (raw)
In-Reply-To: <a79b2fd8d08d4594bbb472b005534d7c91d86e49.camel@linux.dev>

On Thu, 23 Jul 2026 22:23:39 +0600
Siratul Islam <siratul.islam@linux.dev> wrote:

> 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@analog.com>
> > ---
> >   
> ...
> > +
> > +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  
> 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"?

I think the argument for using product pages is that they are stable and datasheet
paths sometimes change.

For ADI there is a neater form as well that is supposed to be stable (and
has been for last few years at least)
https://www.analog.com/max40080
Works for any product and takes you to the equilvalent product page to the
link above.

So whilst you make a good point I think we will have to let Analog decide
on a standard way to link to their product info / datasheets.  That is
on the perhaps optimistic basis they have more insight into stable choices
than we do!

> 
> > +
> >   
> ...
> > +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
> 


  reply	other threads:[~2026-07-25 23:31 UTC|newest]

Thread overview: 10+ 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 [this message]
2026-07-23 16:40   ` Conor Dooley
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=20260726003152.1d9f36d5@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=andy@kernel.org \
    --cc=ciprian.hegbeli@analog.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --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