From: David Lechner <dlechner@baylibre.com>
To: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>,
linux-iio@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: iio: temperature: add ADI MAX30210
Date: Thu, 26 Feb 2026 12:33:38 -0600 [thread overview]
Message-ID: <8ff054f9-c22a-4108-8a9b-6ddb49e18dcc@baylibre.com> (raw)
In-Reply-To: <20260226163041.169786-2-johnerasmusmari.geronimo@analog.com>
When there is more than one patch in a series, please include a cover letter.
On 2/26/26 10:30 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@analog.com>
> ---
> .../iio/temperature/adi,max30210.yaml | 71 +++++++++++++++++++
> 1 file changed, 71 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..80aeae23e0a5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/temperature/adi,max30210.yaml
> @@ -0,0 +1,71 @@
> +# 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 Low-Power I2C Digital Temperature Sensor
> +
> +maintainers:
> + - John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
> +
> +description: |
> + The MAX30210 operates from 1.7V to 2.0V supply voltage, and is a low-power,
This voltage range doesn't match the one below.
We don't really need all of the tech specs here anyway, we have the link
to the datasheet.
> + high-accuracy digital temperature sensor with ±0.1°C accuracy from +20°C to
> + +50°C and ±0.15°C accuracy from -20°C to +85°C.
> + https://www.analog.com/media/en/technical-documentation/data-sheets/max30210.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - adi,max30210
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply:
> + description: |
"|" is not needed here or below. It is only needed to preserve formatting or if
the text contains ":".
> + Analog Supply Voltage Input. Must have values in the interval (1.7V; 5.5V)
> + in order for the device to function correctly.
> +
> + powerdown-gpios:
> + description: |
> + GPIO spec for CVT/PDB pin. Should be configured with GPIO_ACTIVE_LOW.
> + maxItems: 1
> +
> + interrupts:
> + description: |
> + Connected to INT pin. Should be configured with type IRQ_TYPE_EDGE_BOTH.
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> + - powerdown-gpios
Is this pin really required? Seems like it would still work with this pin
hard-wired by using autonomous mode.
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/pwm/pwm.h>
pwm is unused.
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "okay";
> +
> + temperature-sensor@40 {
> + compatible = "adi,max30210";
> + reg = <0x40>;
> + vdd-supply = <&vdd>;
> + powerdown-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
> +
> + interrupt-parent = <&gpio>;
> + interrupts = <17 IRQ_TYPE_EDGE_BOTH>;
> + };
> + };
> +...
next prev parent reply other threads:[~2026-02-26 18:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 16:30 [PATCH 0/2] iio: temperature: add ADI MAX30210 SPI temperature sensor John Erasmus Mari Geronimo
2026-02-26 16:30 ` [PATCH 1/2] dt-bindings: iio: temperature: add ADI MAX30210 John Erasmus Mari Geronimo
2026-02-26 18:33 ` David Lechner [this message]
2026-02-28 12:18 ` Jonathan Cameron
2026-02-27 10:48 ` Krzysztof Kozlowski
2026-02-26 16:30 ` [PATCH 2/2] iio: temperature: add ADI MAX30210 driver John Erasmus Mari Geronimo
2026-02-26 17:48 ` Andy Shevchenko
2026-02-26 20:08 ` David Lechner
2026-02-26 21:26 ` kernel test robot
2026-02-26 22:29 ` kernel test robot
2026-02-28 13:05 ` 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=8ff054f9-c22a-4108-8a9b-6ddb49e18dcc@baylibre.com \
--to=dlechner@baylibre.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=johnerasmusmari.geronimo@analog.com \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.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®