# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/iio/iio.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: IIO Provider Common Properties select: true maintainers: - Jonathan Cameron description: This binding describes generic properties that can be applied to an IIO device binding. As well, direct readings of channels on an IIO Device, an IIO device can provide services in the form of readings and properties for channels to consumer devices. For example, an ADC might provide 3 channels to an analog accelerometer so that an accelerometer driver can use them to read the voltages that correspond to the accelerations on the 3 axis. properties: "#io-channel-cells": enum: [0, 1, 2] description: > Number of cells in an IIO specifier; Typically 0 for nodes with a single IIO output and 1 for nodes with multiple IIO outputs. A few unusual devices have a 2 level mapping. "#io-backend-cells": enum: [0, 1] description: Number of cells in an IIO backend; Typically 0 for nodes with a single backend and 1 for nodes with multiple backends. label: description: Unique name to identify which IIO channel or device this is. mount-matrix: $ref: /schemas/types.yaml#/definitions/non-unique-string-array minItems: 9 maxItems: 9 description: 3x3 matrix specifying the sensor orientation wrt to a reference plane. additionalProperties: true