]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52c8dfde5f89b2bb55ee8e58fb5ab628b8445854
tree3ee362ff972e0d7c6d052051dd6e78b71e42e6d1
parentdb2ebdb9f47f2af07aee9047725960b64b46c51b
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