Re: [PATCH v1 1/3] dt-bindings: trivial-devices: Document ABB sensors

From: Heiko Schocher
Date: Mon Jul 21 2025 - 10:22:33 EST


Hi Guenther, Rob,

On 20.07.25 05:25, Guenter Roeck wrote:
On 7/19/25 19:11, Rob Herring wrote:
On Sat, Jul 19, 2025 at 08:33:52AM +0200, Heiko Schocher wrote:
Add documentation for spi based ABB sensors, which are
currently operated from userspace.

What is userspace? That has nothing to do with bindings.


Taking one step further back ... what are "spi based ABB sensors" ?

Guenter

Please provide some details about this h/w and convince me it is
trivial.

This sensors are fully controlled through spidev driver, with a simple
register based interface and they have no other connections as the SPI
lines, so they only need a compatible entry.

bye,
Heiko




Signed-off-by: Heiko Schocher <hs@xxxxxxx>
---

  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 27930708ccd5..25260c2b81df 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -30,6 +30,8 @@ properties:
      items:
        # Entries are sorted alphanumerically by the compatible
        - enum:
+            # ABB register based spi sensors
+          - abb,spi-sensor
              # Acbel fsg032 power supply
            - acbel,fsg032
              # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
--
2.20.1


--
DENX Software Engineering GmbH, Managing Director: Johanna Denk, Tabea Lutz
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@xxxxxxx