Re: [PATCH RFC v6 1/5] dt-bindings: iio: add Open Sensor Fusion device
From: Kim Jinseob
Date: Tue Jun 30 2026 - 01:04:01 EST
I will remove that sentence in the next revision.
I will also drop the RFC tag for the next version unless there are specific
open questions that need to be called out.
Thanks
Jinseob
2026년 6월 30일 (화) 오전 12:39, Conor Dooley <conor@xxxxxxxxxx>님이 작성:
>
> On Mon, Jun 29, 2026 at 04:13:33AM +0900, Jinseob Kim wrote:
> > Add a binding for the generic Open Sensor Fusion host interface.
> >
> > Open Sensor Fusion devices report capabilities and samples over an OSF
> > protocol stream. Sensor channels are discovered at runtime from
> > capability reports instead of being described individually in Device
> > Tree.
> >
> > The protocol version is discovered at runtime from the OSF frame header.
> > OSF GREEN is a product identity, and OSF0 is a wire-format magic value,
> > so neither is used as the Linux compatible string.
> >
> > Signed-off-by: Jinseob Kim <kimjinseob88@xxxxxxxxx>
> > ---
> > .../bindings/iio/opensensorfusion,osf.yaml | 54 +++++++++++++++++++
> > .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> > MAINTAINERS | 6 +++
> > 3 files changed, 62 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/iio/opensensorfusion,osf.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/iio/opensensorfusion,osf.yaml b/Documentation/devicetree/bindings/iio/opensensorfusion,osf.yaml
> > new file mode 100644
> > index 000000000..8016d582f
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/opensensorfusion,osf.yaml
> > @@ -0,0 +1,54 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/iio/opensensorfusion,osf.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Open Sensor Fusion Sensor Aggregation Hub
> > +
> > +maintainers:
> > + - Jinseob Kim <kimjinseob88@xxxxxxxxx>
> > +
> > +description: |
> > + This binding documents the generic Open Sensor Fusion host interface. Open
> > + Sensor Fusion is a sensor aggregation hub. The hub exposes an OSF protocol
> > + data stream over its host interface and reports capabilities and samples for
> > + multiple sensor classes. The actual sensor channels are discovered at runtime
> > + from OSF capability reports instead of describing them in Device Tree. The
> > + protocol version is discovered at runtime.
> > +
> > + Public project documentation is available at:
> > +
> > + https://github.com/opensensorfusion
> > +
> > + The compatible describes the generic Open Sensor Fusion host interface.
>
> > It
> > + is not an OSF GREEN board identity, and it does not encode the OSF0 wire
> > + magic.
>
> I think this is evident from the previous text, and the first part is a
> bit confusing while the latter half is a bit confusing.
> Just remove this sentence I think.
>
> Binding looks fine to me, I'll provide a r-b when you submit a non-RFC
> version.
>
> pw-bot: not-applicable
>
> Thanks,
> Conor.
>
> > OSF0, protocol_major, and protocol_minor are wire-protocol details
> > + exchanged in OSF frames.
> > +
> > +allOf:
> > + - $ref: /schemas/serial/serial-peripheral-props.yaml#
> > +
> > +properties:
> > + compatible:
> > + const: opensensorfusion,osf
> > +
> > + vcc-supply:
> > + description:
> > + Regulator supplying power to the Open Sensor Fusion device.
> > +
> > +required:
> > + - compatible
> > + - vcc-supply
> > +
> > +unevaluatedProperties: false
> > +
> > +examples:
> > + - |
> > + serial {
> > + sensor {
> > + compatible = "opensensorfusion,osf";
> > + vcc-supply = <&vcc_sensor>;
> > + };
> > + };
> > +...
> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> > index 28784d66a..88172d4a4 100644
> > --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> > @@ -1237,6 +1237,8 @@ patternProperties:
> > description: OpenPandora GmbH
> > "^openrisc,.*":
> > description: OpenRISC.io
> > + "^opensensorfusion,.*":
> > + description: Open Sensor Fusion
> > "^openwrt,.*":
> > description: OpenWrt
> > "^option,.*":
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index c2c6d7927..e4df9d8dc 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -20011,6 +20011,12 @@ F: Documentation/devicetree/
> > F: arch/*/boot/dts/
> > F: include/dt-bindings/
> >
> > +OPEN SENSOR FUSION
> > +M: Jinseob Kim <kimjinseob88@xxxxxxxxx>
> > +S: Maintained
> > +F: Documentation/devicetree/bindings/iio/opensensorfusion,osf.yaml
> > +K: opensensorfusion
> > +
> > OPENCOMPUTE PTP CLOCK DRIVER
> > M: Vadim Fedorenko <vadim.fedorenko@xxxxxxxxx>
> > L: netdev@xxxxxxxxxxxxxxx
> > --
> > 2.43.0
> >