Re: [PATCH v2 1/2] dt-bindings: iio: temperature: add ADI MAX30210

From: Jonathan Cameron

Date: Sat Mar 07 2026 - 07:21:55 EST


On Wed, 4 Mar 2026 18:11:22 -0600
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> On 3/4/26 6:25 AM, John Erasmus Mari Geronimo wrote:
> > Add device tree binding documentation for the Analog Devices
> > MAX30210 temperature sensor.
> >
> > Signed-off-by: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@xxxxxxxxxx>
> > ---
> > .../iio/temperature/adi,max30210.yaml | 62 +++++++++++++++++++
> > MAINTAINERS | 7 +++
> > 2 files changed, 69 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/iio/temperature/adi,max30210.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,max30210.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,max30210.yaml
> > new file mode 100644
> > index 000000000000..66867880a20f
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/temperature/adi,max30210.yaml
> > @@ -0,0 +1,62 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +# Copyright 2026 Analog Devices Inc.
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/iio/temperature/adi,max30210.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Analog Devices MAX30210 Temperature Sensor
> > +
> > +maintainers:
> > + - John Erasmus Mari Geronimo <johnerasmusmari.geronimo@xxxxxxxxxx>
> > +
> > +description: |
> > + The MAX30210 is a temperature sensor with an I2C interface.
> > + https://www.analog.com/media/en/technical-documentation/data-sheets/max30210.pdf
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - adi,max30210
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + vdd-supply:
> > + description: Analog supply voltage input.
>
> The description makes it sound like there could be other supplies,
> but there aren't. It is the "everything" supply, so we can just
> call it the power supply.

I think

vdd-supply: true

is also fine when it's a simple as this.

Jonathan


>