Skip to content

Commit

Permalink
dt-bindings: hwmon: Increase max number of io-channels
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Simek authored and Guenter Roeck committed Dec 11, 2023
1 parent 159e459 commit 6236163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ properties:

io-channels:
minItems: 1
maxItems: 8 # Should be enough
maxItems: 51 # Should be enough
description: >
List of phandles to ADC channels to read the monitoring values
Expand Down

0 comments on commit 6236163

Please sign in to comment.