Path: blob/master/Documentation/devicetree/bindings/iio/common.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/common.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Common properties for iio sensors78maintainers:9- Jonathan Cameron <jic23@kernel.org>10- Guido Günther <agx@sigxcpu.org>1112description: |13This document defines device tree properties common to several iio14sensors. It doesn't constitute a device tree binding specification by itself but15is meant to be referenced by device tree bindings.1617When referenced from sensor tree bindings the properties defined in this18document are defined as follows. The sensor tree bindings are responsible for19defining whether each property is required or optional.2021properties:22proximity-near-level:23$ref: /schemas/types.yaml#/definitions/uint3224description: |25For proximity sensors whether an object can be considered near to the26device depends on parameters like sensor position, covering glass and27aperture. This value gives an indication to userspace for which28sensor readings this is the case.2930Raw proximity values equal or above this level should be31considered 'near' to the device (an object is near to the32sensor).3334additionalProperties: true3536...373839