Lines Matching +full:current +full:- +full:sense
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Current Sense Shunt
10 - Peter Rosin <peda@axentia.se>
13 When an io-channel measures the voltage over a current sense shunt,
14 the interesting measurement is almost always the current through the
15 shunt, not the voltage over it. This binding describes such a current
16 sense circuit.
20 const: current-sense-shunt
22 io-channels:
25 Channel node of a voltage io-channel.
27 "#io-channel-cells":
30 shunt-resistor-micro-ohms:
34 - compatible
35 - io-channels
36 - shunt-resistor-micro-ohms
41 - |
43 #address-cells = <1>;
44 #size-cells = <0>;
48 #io-channel-cells = <1>;
50 #address-cells = <1>;
51 #size-cells = <0>;
61 compatible = "current-sense-shunt";
62 io-channels = <&tiadc 0>;
63 #io-channel-cells = <0>;
65 /* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */
66 shunt-resistor-micro-ohms = <3300000>;