1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/common. 4 $id: http://devicetree.org/schemas/iio/common.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Common properties for iio sensors 7 title: Common properties for iio sensors 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 - Guido Günther <agx@sigxcpu.org> 11 - Guido Günther <agx@sigxcpu.org> 12 12 13 description: | 13 description: | 14 This document defines device tree properties 14 This document defines device tree properties common to several iio 15 sensors. It doesn't constitute a device tree 15 sensors. It doesn't constitute a device tree binding specification by itself but 16 is meant to be referenced by device tree bin 16 is meant to be referenced by device tree bindings. 17 17 18 When referenced from sensor tree bindings th 18 When referenced from sensor tree bindings the properties defined in this 19 document are defined as follows. The sensor 19 document are defined as follows. The sensor tree bindings are responsible for 20 defining whether each property is required o 20 defining whether each property is required or optional. 21 21 22 properties: 22 properties: 23 proximity-near-level: 23 proximity-near-level: 24 $ref: /schemas/types.yaml#/definitions/uin 24 $ref: /schemas/types.yaml#/definitions/uint32 25 description: | 25 description: | 26 For proximity sensors whether an object 26 For proximity sensors whether an object can be considered near to the 27 device depends on parameters like sensor 27 device depends on parameters like sensor position, covering glass and 28 aperture. This value gives an indication 28 aperture. This value gives an indication to userspace for which 29 sensor readings this is the case. 29 sensor readings this is the case. 30 30 31 Raw proximity values equal or above this 31 Raw proximity values equal or above this level should be 32 considered 'near' to the device (an obje 32 considered 'near' to the device (an object is near to the 33 sensor). 33 sensor). 34 34 35 additionalProperties: true 35 additionalProperties: true 36 36 37 ... 37 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.