[PATCH] dt-bindings: trivial-devices: Add Maxim max30208

Rodrigo Gobbi posted 1 patch 7 months, 2 weeks ago
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: trivial-devices: Add Maxim max30208
Posted by Rodrigo Gobbi 7 months, 2 weeks ago
The temperature sensor for maxim is a simple i2c driver,
it's eligible to trivial devices.

Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.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

Re: [PATCH] dt-bindings: trivial-devices: Add Maxim max30208
Posted by Rob Herring (Arm) 7 months, 1 week ago
On Sat, 03 May 2025 16:01:01 -0300, Rodrigo Gobbi wrote:
> The temperature sensor for maxim is a simple i2c driver,
> it's eligible to trivial devices.
> 
> Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.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(+)
> 

Applied, thanks!