IIO Provider Common Properties
Schema identifier ($id): "http://devicetree.org/schemas/iio/iio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Automatic schema selection (select) #
true
This selection rule always matches.
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
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 and child nodes (properties) #
#io-channel-cells — not listed as required here #
Allowed values (enum): 0, 1, 2
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 — not listed as required here #
Number of cells in an IIO backend; Typically 0 for nodes with a single backend and 1 for nodes with multiple backends.
label — not listed as required here #
Unique name to identify which IIO channel or device this is.
mount-matrix — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
Minimum number of items (minItems): 9
Maximum number of items (maxItems): 9
3x3 matrix specifying the sensor orientation wrt to a reference plane.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)