dt-bindings: hwmon: ti,ina2xx: Add ti,shunt-gain property
authorNathan Rossi <nathan.rossi@digi.com>
Tue, 2 Nov 2021 05:27:54 +0000 (05:27 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:05 +0000 (15:02 -0800)
commit8be23b9b3114952c92c13fac2d37854aba208b9e
tree3ee362ff972e0d7c6d052051dd6e78b71e42e6d1
parented68a0effe51be3c89f7fa03dfc630b2ef1f1ee8
dt-bindings: hwmon: ti,ina2xx: Add ti,shunt-gain property

Add a property to the binding to define the selected shunt voltage gain.
This specifies the range and accuracy that applies to the shunt circuit.
This property only applies to devices that have a selectable shunt
voltage range via PGA or ADCRANGE register configuration.

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211102052754.817220-2-nathan@nathanrossi.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml