[PATCH v2 1/2] dt-bindings: trivial-devices: Document SEN0322

Tóth János via B4 Relay posted 2 patches 9 months, 1 week ago
There is a newer version of this series
[PATCH v2 1/2] dt-bindings: trivial-devices: Document SEN0322
Posted by Tóth János via B4 Relay 9 months, 1 week ago
From: Tóth János <gomba007@gmail.com>

Add documentation for the DFRobot SEN0322 oxygen sensor.

Signed-off-by: Tóth János <gomba007@gmail.com>
---
 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..a25bf2135649 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -85,6 +85,8 @@ properties:
           - devantech,srf08
             # Devantech SRF10 ultrasonic ranger
           - devantech,srf10
+            # DFRobot SEN0322 oxygen sensor
+          - dfrobot,sen0322
             # DH electronics GmbH on-board CPLD trivial SPI device
           - dh,dhcom-board
             # DA9053: flexible system level PMIC with multicore support

-- 
2.34.1


Re: [PATCH v2 1/2] dt-bindings: trivial-devices: Document SEN0322
Posted by Krzysztof Kozlowski 9 months, 1 week ago
On 05/05/2025 09:52, Tóth János via B4 Relay wrote:
> From: Tóth János <gomba007@gmail.com>
> 
> Add documentation for the DFRobot SEN0322 oxygen sensor.
> 
> Signed-off-by: Tóth János <gomba007@gmail.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: trivial-devices: Document SEN0322
Posted by Jonathan Cameron 9 months, 1 week ago
On Mon, 5 May 2025 10:16:06 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On 05/05/2025 09:52, Tóth János via B4 Relay wrote:
> > From: Tóth János <gomba007@gmail.com>
> > 
> > Add documentation for the DFRobot SEN0322 oxygen sensor.
> > 
> > Signed-off-by: Tóth János <gomba007@gmail.com>  
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Best regards,
> Krzysztof
> 
Hmm. This is fine I guess, but I'm never sure how pretty much anything
justifies being in trivial-devices.yaml given they should all be full bindings
and almost anything requires a power supply :)

Maybe we should let there be a few standard supplies for the devices
in there in the same way a single interrupt is allowed?

J