ADC-attached Hardware Sensor

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"

Bindings for hardware monitoring devices connected to ADC controllers supporting the Industrial I/O bindings.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "iio-hwmon"

io-channels — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 51

List of phandles to ADC channels to read the monitoring values

Required in this object (required): "compatible", "io-channels"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

iio-hwmon {
    compatible = "iio-hwmon";
    io-channels = <&adc 1>, <&adc 2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 22: Should be enough

Edit this page