summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/afe/current-sense-shunt.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/afe/current-sense-shunt.yaml')
-rw-r--r--dts/Bindings/iio/afe/current-sense-shunt.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/Bindings/iio/afe/current-sense-shunt.yaml b/dts/Bindings/iio/afe/current-sense-shunt.yaml
index 90439a8dc7..f8a112c9a8 100644
--- a/dts/Bindings/iio/afe/current-sense-shunt.yaml
+++ b/dts/Bindings/iio/afe/current-sense-shunt.yaml
@@ -24,6 +24,9 @@ properties:
description: |
Channel node of a voltage io-channel.
+ "#io-channel-cells":
+ const: 0
+
shunt-resistor-micro-ohms:
description: The shunt resistance.
@@ -57,6 +60,7 @@ examples:
sysi {
compatible = "current-sense-shunt";
io-channels = <&tiadc 0>;
+ #io-channel-cells = <0>;
/* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */
shunt-resistor-micro-ohms = <3300000>;