On Tue, 02 Nov 2021 05:27:54 +0000, Nathan Rossi wrote:
From: Nathan Rossi <redacted>
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 <redacted>
---
Changes in v2:
- Added binding for shunt-gain
Changes in v3:
- Fix schema error, setting $ref to uint32
- Improve the description to detail exactly how to define the property
and how the property affects initial device configuration and
calculation of values
---
.../devicetree/bindings/hwmon/ti,ina2xx.yaml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Reviewed-by: Rob Herring <robh@kernel.org>