Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/common.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Common properties for iio sensors
0008 
0009 maintainers:
0010   - Jonathan Cameron <jic23@kernel.org>
0011   - Guido Günther <agx@sigxcpu.org>
0012 
0013 description: |
0014   This document defines device tree properties common to several iio
0015   sensors. It doesn't constitue a device tree binding specification by itself but
0016   is meant to be referenced by device tree bindings.
0017 
0018   When referenced from sensor tree bindings the properties defined in this
0019   document are defined as follows. The sensor tree bindings are responsible for
0020   defining whether each property is required or optional.
0021 
0022 properties:
0023   proximity-near-level:
0024     $ref: /schemas/types.yaml#/definitions/uint32
0025     description: |
0026       For proximity sensors whether an object can be considered near to the
0027       device depends on parameters like sensor position, covering glass and
0028       aperture. This value gives an indication to userspace for which
0029       sensor readings this is the case.
0030 
0031       Raw proximity values equal or above this level should be
0032       considered 'near' to the device (an object is near to the
0033       sensor).
0034 
0035 additionalProperties: true
0036 
0037 ...