Skip to contentSkip to conversation

dt-bindings: trivial-devices: Add Maxim max30208

PATCH Applied Rodrigo Gobbi 2 participants 2 messages May 3, 2025 – May 12, 2025 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: trivial-devices: Add Maxim max30208

The temperature sensor for maxim is a simple i2c driver, it's eligible to trivial devices.

---
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(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 8da408107e55..377722af6c00 100644
@@ -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
Signature · 1 line
2.47.0
maintainer Applied
#1 lore raw
Quoted 11 lines · Rodrigo Gobbi

The temperature sensor for maxim is a simple i2c driver, it's eligible to trivial devices.

---
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.

Quoted 4 lines
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks!