Re: [PATCH v4 2/3] dt-bindings: hwmon: ti,ina2xx: Add ti,shunt-gain property
From: Rob Herring
Date: Tue Nov 02 2021 - 13:36:13 EST
On Tue, 02 Nov 2021 05:27:54 +0000, Nathan Rossi wrote:
> From: Nathan Rossi <nathan.rossi@xxxxxxxx>
>
> 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@xxxxxxxx>
> ---
> 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@xxxxxxxxxx>