]> 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)
commit277e82e88a0cf7397d34ae959a1e5c241dd78146
tree3ee362ff972e0d7c6d052051dd6e78b71e42e6d1
parentf1d77931faf3cfd8f460d78df65ca678e36d042d
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