xref: /freebsd-src/sys/contrib/device-tree/Bindings/hwmon/iio-hwmon.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
4aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#
5aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: ADC-attached Hardware Sensor
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: >
138cc087a1SEmmanuel Vadot  Bindings for hardware monitoring devices connected to ADC controllers
148cc087a1SEmmanuel Vadot  supporting the Industrial I/O bindings.
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadotproperties:
178cc087a1SEmmanuel Vadot  compatible:
188cc087a1SEmmanuel Vadot    const: iio-hwmon
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadot  io-channels:
218cc087a1SEmmanuel Vadot    minItems: 1
22*8d13bc63SEmmanuel Vadot    maxItems: 51 # Should be enough
238cc087a1SEmmanuel Vadot    description: >
248cc087a1SEmmanuel Vadot      List of phandles to ADC channels to read the monitoring values
258cc087a1SEmmanuel Vadot
268cc087a1SEmmanuel Vadotrequired:
278cc087a1SEmmanuel Vadot  - compatible
288cc087a1SEmmanuel Vadot  - io-channels
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel VadotadditionalProperties: false
318cc087a1SEmmanuel Vadot
328cc087a1SEmmanuel Vadotexamples:
338cc087a1SEmmanuel Vadot  - |
348cc087a1SEmmanuel Vadot    iio-hwmon {
358cc087a1SEmmanuel Vadot        compatible = "iio-hwmon";
368cc087a1SEmmanuel Vadot        io-channels = <&adc 1>, <&adc 2>;
378cc087a1SEmmanuel Vadot    };
38