brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · b3a10af Raw
38 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/common.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common properties for iio sensors8 9maintainers:10  - Jonathan Cameron <jic23@kernel.org>11  - Guido Günther <agx@sigxcpu.org>12 13description: |14  This document defines device tree properties common to several iio15  sensors. It doesn't constitute a device tree binding specification by itself but16  is meant to be referenced by device tree bindings.17 18  When referenced from sensor tree bindings the properties defined in this19  document are defined as follows. The sensor tree bindings are responsible for20  defining whether each property is required or optional.21 22properties:23  proximity-near-level:24    $ref: /schemas/types.yaml#/definitions/uint3225    description: |26      For proximity sensors whether an object can be considered near to the27      device depends on parameters like sensor position, covering glass and28      aperture. This value gives an indication to userspace for which29      sensor readings this is the case.30 31      Raw proximity values equal or above this level should be32      considered 'near' to the device (an object is near to the33      sensor).34 35additionalProperties: true36 37...38