4 When an io-channel measures the voltage over a current sense shunt,
5 the interesting measurement is almost always the current through the
6 shunt, not the voltage over it. This binding describes such a current
10 - compatible : "current-sense-shunt"
11 - io-channels : Channel node of a voltage io-channel.
12 - shunt-resistor-micro-ohms : The shunt resistance in microohms.
15 The system current is measured by measuring the voltage over a
16 3.3 ohms shunt resistor.
19 compatible = "current-sense-shunt";
20 io-channels = <&tiadc 0>;
22 /* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */
23 shunt-resistor-micro-ohms = <3300000>;
28 compatible = "ti,ads1015";
30 #io-channel-cells = <1>;
35 channel@0 { /* IN0,IN1 differential */