From: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
To: <devicetree@vger.kernel.org>, <linux-hwmon@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
"Rob Herring" <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
Jonathan Corbet <corbet@lwn.net>
Subject: [PATCH 2/3] dt-bindings: hwmon: adi,max31827: add MAX31875
Date: Wed, 8 Jan 2025 16:25:30 +0800 [thread overview]
Message-ID: <20250108082531.15467-3-johnerasmusmari.geronimo@analog.com> (raw)
In-Reply-To: <20250108082531.15467-1-johnerasmusmari.geronimo@analog.com>
Add max31875 to dt-bindings of max31827
MAX31875 is low-power I2C temperature sensor similar to MAX31827
Signed-off-by: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
---
.../bindings/hwmon/adi,max31827.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
index f60e06ab7..9363fa371 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
@@ -4,16 +4,19 @@
$id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
+title: Analog Devices MAX31827, MAX31828, MAX31829, MAX31875 Low-Power Temperature Switch
maintainers:
- - Daniel Matyas <daniel.matyas@analog.com>
+ - John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
description: |
Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with
I2C Interface
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf
+ Analog Devices MAX31875 Low-Power I2C Temperature Sensor in WLP Package
+ https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31875.pdf
+
properties:
compatible:
oneOf:
@@ -22,6 +25,7 @@ properties:
- enum:
- adi,max31828
- adi,max31829
+ - adi,max31875
- const: adi,max31827
reg:
@@ -93,6 +97,16 @@ allOf:
adi,fault-q:
default: 4
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: adi,max31875
+
+ then:
+ properties:
+ adi,fault-q:
+ enum: [1, 2, 4, 6]
required:
- compatible
--
2.34.1
next prev parent reply other threads:[~2025-01-08 8:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 8:25 [PATCH 0/3] Add max31875 support John Erasmus Mari Geronimo
2025-01-08 8:25 ` [PATCH 1/3] hwmon: (max31827) refactor enum chips to chip info John Erasmus Mari Geronimo
2025-01-08 14:22 ` Guenter Roeck
2025-01-09 5:05 ` kernel test robot
2025-01-08 8:25 ` John Erasmus Mari Geronimo [this message]
2025-01-08 9:42 ` [PATCH 2/3] dt-bindings: hwmon: adi,max31827: add MAX31875 Krzysztof Kozlowski
2025-01-08 8:25 ` [PATCH 3/3] hwmon: (max31827) add max31875 support John Erasmus Mari Geronimo
2025-03-02 18:41 ` Guenter Roeck
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=20250108082531.15467-3-johnerasmusmari.geronimo@analog.com \
--to=johnerasmusmari.geronimo@analog.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--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