Smack: Handle io_uring kernel thread privileges
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / afe / current-sense-amplifier.txt
1 Current Sense Amplifier
2 =======================
3
4 When an io-channel measures the output voltage from a current sense
5 amplifier, the interesting measurement is almost always the current
6 through the sense resistor, not the voltage output. This binding
7 describes such a current sense circuit.
8
9 Required properties:
10 - compatible : "current-sense-amplifier"
11 - io-channels : Channel node of a voltage io-channel.
12 - sense-resistor-micro-ohms : The sense resistance in microohms.
13
14 Optional properties:
15 - sense-gain-mult: Amplifier gain multiplier. The default is <1>.
16 - sense-gain-div: Amplifier gain divider. The default is <1>.
17
18 Example:
19
20 sysi {
21         compatible = "current-sense-amplifier";
22         io-channels = <&tiadc 0>;
23
24         sense-resistor-micro-ohms = <20000>;
25         sense-gain-mul = <50>;
26 };