current-sense-amplifier

Vendor: Generic or vendor-independent

Description

When an io-channel measures the voltage over a current sense amplifier,
the interesting measurement is almost always the current through the
sense resistor, not the voltage over it. This binding describes such a current
sense circuit.

This is based on Linux, documentation:
  https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/afe/current-sense-amplifier.yaml

Properties

Properties not inherited from the base binding file.

Name

Type

Details

sense-resistor-micro-ohms

int

Resistance of the shunt resistor in micro-ohms

This property is required.

sense-gain-mult

int

Amplifier gain multiplier. The default is <1>.

Default value: 1

sense-gain-div

int

Amplifier gain divider. The default is <1>.

Default value: 1

power-gpios

phandle-array

Control power to the current amplifier.

If present the corresponding GPIO must be set to an active level
to enable the current amplifier.