mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

The Analog Monitoring System (AMS) defines 51 channels (Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml) that's why increase number to 51. Signed-off-by: Michal Simek <michal.simek@amd.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/5110a313a5ce52ce6d7b5cb6b08368d42063dc30.1701419691.git.michal.simek@amd.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
38 lines
791 B
YAML
38 lines
791 B
YAML
# 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
|
|
|
|
maintainers:
|
|
- Jonathan Cameron <jic23@kernel.org>
|
|
|
|
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: 51 # 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>;
|
|
};
|