current-sense-amplifier.txt 774 B

1234567891011121314151617181920212223242526
  1. Current Sense Amplifier
  2. =======================
  3. When an io-channel measures the output voltage from a current sense
  4. amplifier, the interesting measurement is almost always the current
  5. through the sense resistor, not the voltage output. This binding
  6. describes such a current sense circuit.
  7. Required properties:
  8. - compatible : "current-sense-amplifier"
  9. - io-channels : Channel node of a voltage io-channel.
  10. - sense-resistor-micro-ohms : The sense resistance in microohms.
  11. Optional properties:
  12. - sense-gain-mult: Amplifier gain multiplier. The default is <1>.
  13. - sense-gain-div: Amplifier gain divider. The default is <1>.
  14. Example:
  15. sysi {
  16. compatible = "current-sense-amplifier";
  17. io-channels = <&tiadc 0>;
  18. sense-resistor-micro-ohms = <20000>;
  19. sense-gain-mul = <50>;
  20. };