[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250503190509.33074-1-rodrigo.gobbi.7@gmail.com>
Date: Sat, 3 May 2025 16:01:01 -0300
From: Rodrigo Gobbi <rodrigo.gobbi.7@...il.com>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: ~lkcamp/patches@...ts.sr.ht,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] dt-bindings: trivial-devices: Add Maxim max30208
The temperature sensor for maxim is a simple i2c driver,
it's eligible to trivial devices.
Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@...il.com>
---
Inspecting the code of max30208.c digital temperature sensor (i2c),
I can see that the probe method does not support additional properties
and only does a few things related to the IIO subsystem.
Also, since was added in the tree, there is no binding file.
I'm suggesting a change to add that compatible to the trivial-devices file.
Tks and regards.
---
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 8da408107e55..377722af6c00 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -173,6 +173,8 @@ properties:
- maxim,ds3502
# Temperature Sensor, I2C interface
- maxim,max1619
+ # Digital temperature sensor with 0.1°C accuracy
+ - maxim,max30208
# 3-Channel Remote Temperature Sensor
- maxim,max31730
# 10-bit 10 kOhm linear programmable voltage divider
--
2.47.0
Powered by blists - more mailing lists