mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
823 B
37 lines
823 B
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
|
%YAML 1.2 |
|
--- |
|
$id: "http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#" |
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#" |
|
|
|
title: ADC-attached Hardware Sensor Device Tree Bindings |
|
|
|
maintainers: |
|
- Jonathan Cameron <[email protected]> |
|
|
|
description: > |
|
Bindings for hardware monitoring devices connected to ADC controllers |
|
supporting the Industrial I/O bindings. |
|
|
|
properties: |
|
compatible: |
|
const: iio-hwmon |
|
|
|
io-channels: |
|
minItems: 1 |
|
maxItems: 8 # Should be enough |
|
description: > |
|
List of phandles to ADC channels to read the monitoring values |
|
|
|
required: |
|
- compatible |
|
- io-channels |
|
|
|
additionalProperties: false |
|
|
|
examples: |
|
- | |
|
iio-hwmon { |
|
compatible = "iio-hwmon"; |
|
io-channels = <&adc 1>, <&adc 2>; |
|
};
|
|
|