devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: trivial-devices: Add Maxim max30208
@ 2025-05-03 19:01 Rodrigo Gobbi
  2025-05-12 15:26 ` Rob Herring (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Gobbi @ 2025-05-03 19:01 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt; +Cc: ~lkcamp/patches, devicetree, linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: trivial-devices: Add Maxim max30208
  2025-05-03 19:01 [PATCH] dt-bindings: trivial-devices: Add Maxim max30208 Rodrigo Gobbi
@ 2025-05-12 15:26 ` Rob Herring (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-05-12 15:26 UTC (permalink / raw)
  To: Rodrigo Gobbi
  Cc: devicetree, linux-kernel, conor+dt, krzk+dt, ~lkcamp/patches


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!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-12 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-03 19:01 [PATCH] dt-bindings: trivial-devices: Add Maxim max30208 Rodrigo Gobbi
2025-05-12 15:26 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).