1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common properties for iio sensors
10 - Jonathan Cameron <jic23@kernel.org>
11 - Guido Günther <agx@sigxcpu.org>
14 This document defines device tree properties common to several iio
15 sensors. It doesn't constitue a device tree binding specification by itself but
16 is meant to be referenced by device tree bindings.
18 When referenced from sensor tree bindings the properties defined in this
19 document are defined as follows. The sensor tree bindings are responsible for
20 defining whether each property is required or optional.
24 $ref: /schemas/types.yaml#/definitions/uint32
26 For proximity sensors whether an object can be considered near to the
27 device depends on parameters like sensor position, covering glass and
28 aperture. This value gives an indication to userspace for which
29 sensor readings this is the case.
31 Raw proximity values equal or above this level should be
32 considered 'near' to the device (an object is near to the
35 additionalProperties: true