From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f65.google.com (mail-oo1-f65.google.com [209.85.161.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E89033D3D18 for ; Thu, 26 Feb 2026 18:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772130823; cv=none; b=grdXu5gZzH/tYVeMfzQc0Dz0khAbeIlHNnoUxUsFvDFJCKxHFAWpLfrER6OOnK3iDivis8/9j/CB6mZ50BAvO1LErawUsHorHWKNeRpkWKpBSfhkWiWN5thQjb2hRaVWRo86FOGUifx2vSaxCqxdl1J43CgcgQyrDTBN4Ex8bpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772130823; c=relaxed/simple; bh=1tGyrjrefZFBFYuiY5W3I580PT+gFhCEdxPhb7EAQk4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZgaYL/FtReEZYUJoyqNvtarG2ne4JZ/4APDaQYbCvKgQzyhOn+DqJLg2Es8dt8qByhRIGeG5edzJTQdoy5yKQwK/golk6wVTwYVMqG/weaUuwdMaX3yNSFQInL+kDE/gY3X72aQWyC2qsG+ayqBdA0awgnxDfu3UF/c/E4r6LUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=MwBHuBlb; arc=none smtp.client-ip=209.85.161.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="MwBHuBlb" Received: by mail-oo1-f65.google.com with SMTP id 006d021491bc7-662f9aeb765so503735eaf.3 for ; Thu, 26 Feb 2026 10:33:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1772130820; x=1772735620; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4/5cjoh5WVMRBP0Xk9oZ5/S0VwEnukyl5VAKVEVtxPQ=; b=MwBHuBlbF9+gKD3Swr0h9tKoz8F0AMLOvz9VM1eElSmLIETVX+sqAHoKTJixs2HusX 5WlZsSd3neg22xMVY/ZwiG/7/cymosZa6Rz0AQJ+xCkdlmW7i72KrhfKpR6Vye/CoMSO aJvRLwarcrau2pOblxD4Dv5zqad41zNTq2GJOg9q0qrD/Eo/D/m+3iBhZxveygjbZtZV NkCpst40r2TXGQpD6bq4J65l+NUQVmdnvGOWqDDMppJYmxGkvB4pGUvF+rL7zKVpJ76/ ff3oenNpzZjkNJu8mJCsZd3pU6UW8j8W8xts9qUNeTBZst1npnWmIjEw609Vr6zLNR3k aOig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772130820; x=1772735620; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4/5cjoh5WVMRBP0Xk9oZ5/S0VwEnukyl5VAKVEVtxPQ=; b=cqesY8YdVzA7NRsA6RYTrcN6AgdTAWZTEj1+OtzfXAyVhkHYogJp4gYNMRUhNmeq6U g/ZWGESfXWrhEVqQ4FJec1ozH1tLnoso2MsVBykoY4J7vrSoIXM8rdaRkNAVzO4OcYHu +TgXvTDUtf3BPdhgWVMz7G5e9EnNCKvWnoQxKQAfizKLeJfOA2K3fcnaYC7oTETFK6/y SOhoQ7gKdVWuLwl8yzpL7AxhGtaQYNXz1vX5rrsGK+iL5qhdE65W5jGo+WdxEqQeQT5e NR713nowRq6IFBwsveVyBzCPIY7Hea/9FnA5xaJ0r1wgYlkTsIlxK01wEGLkB25XG/2j Dz2A== X-Forwarded-Encrypted: i=1; AJvYcCVEZ9SU+Ag9JJ+7KD1vbr1syttZ8CZxGHVeTEYv4kztMR29VHls+a+n51P1RbWrfHnzOfZN2kYIyPhQSEc=@vger.kernel.org X-Gm-Message-State: AOJu0YxNe/tFdUzn/69KdKv7ulnbLKlJKfRBQso/H6gafpRb2T/K+bXU Ha9+OWpBZz6+PsOelxWE9S1asu9VcTYHFKzUw6CWJFQVq3OvdjBAwe09mHo+l1XYpr8= X-Gm-Gg: ATEYQzzWxQPDLuVjyoQHvnZ0a7bVt47gpIyq/SqR5Y/Mzh7feS/oniahwqZ9qgF2gDS 5d6MYOAQmCFitMF2iAwbZxGeCGz/ToqCzeGCxvjabMSDWtmFKbvrrCRw1D1PN78KgLrUhcvNSyY PlQoNZd3O9NMUUbJZprVm0eHcSO7M6oLW34DG9OqziyWQRufUDnnYjNIbu485A+2/5JAncmU7MN B9ngm2XY8Ian0/BctYICrVQrErrVmhaZ6tR63wjEtrlQzBjgHwnXTS3BF2Yos9JoMfW8WCsvurm POJkLSoGYjRb8Jvsfl3KLGfBeFuwMfiR7sg61kHRPKMKeCryirmNPP8fvhZhO2AJLVmaC8Wn8cc UmNLhTFIVsgJuaQafanyYaXg6jYMLpcvXq3LdsSAPRS1E3uifP5DxQd42enKL+QNpZGk4jzXo0s 6V+5GCgeiQ3zSq4+1Qa3vf7i924zfJpo5P6ux7EOZXELHwvWelKulOXOXFJ/HM0M50QBvSxsVzW A== X-Received: by 2002:a05:6820:20e:b0:672:a49f:1291 with SMTP id 006d021491bc7-679fadbf66amr168019eaf.15.1772130819691; Thu, 26 Feb 2026 10:33:39 -0800 (PST) Received: from ?IPV6:2600:8803:e7e4:500:602c:a8f4:3667:524c? ([2600:8803:e7e4:500:602c:a8f4:3667:524c]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4160cf239e0sm2680245fac.1.2026.02.26.10.33.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Feb 2026 10:33:39 -0800 (PST) Message-ID: <8ff054f9-c22a-4108-8a9b-6ddb49e18dcc@baylibre.com> Date: Thu, 26 Feb 2026 12:33:38 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: iio: temperature: add ADI MAX30210 To: John Erasmus Mari Geronimo , linux-iio@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley References: <20260226163041.169786-1-johnerasmusmari.geronimo@analog.com> <20260226163041.169786-2-johnerasmusmari.geronimo@analog.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260226163041.169786-2-johnerasmusmari.geronimo@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 > --- > .../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 > + > +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 > + #include > + #include 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>; > + }; > + }; > +...