Message ID | 20250117082017.688212-2-wenliang202407@163.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | hwmon:(ina238)Add support for SQ52206 | expand |
On Fri, Jan 17, 2025 at 04:20:16PM +0800, Wenliang Yan wrote: > Add the sq52206 compatible to the ina2xx.yaml > > Signed-off-by: Wenliang Yan <wenliang202407@163.com> > --- > > Add the meaning of 'shunt-gain' in SQ52206. > Didn't you got an Ack from Conor already? Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
At 2025-01-18 22:37:00, "Krzysztof Kozlowski" <krzk@kernel.org> wrote: >On Fri, Jan 17, 2025 at 04:20:16PM +0800, Wenliang Yan wrote: >> Add the sq52206 compatible to the ina2xx.yaml >> >> Signed-off-by: Wenliang Yan <wenliang202407@163.com> >> --- >> >> Add the meaning of 'shunt-gain' in SQ52206. >> > >Didn't you got an Ack from Conor already? > >Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > >Best regards, >Krzysztof Thank you for your 'ack'. I did not receive an Ack from Conor before. Best regards, Wenliang Yan
diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml index 05a9cb36cd82..25e0b2f0b28d 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml @@ -20,6 +20,7 @@ description: | properties: compatible: enum: + - silergy,sq52206 - silergy,sy24655 - ti,ina209 - ti,ina219 @@ -58,6 +59,9 @@ properties: shunt voltage, and a value of 4 maps to ADCRANGE=0 such that a wider voltage range is used. + For SQ52206,the shunt gain value 1 mapps to ADCRANGE=10/11, the value 2 + mapps to ADCRANGE=01, and the value 4 mapps to ADCRANGE=00. + The default value is device dependent, and is defined by the reset value of PGA/ADCRANGE in the respective configuration registers. $ref: /schemas/types.yaml#/definitions/uint32
Add the sq52206 compatible to the ina2xx.yaml Signed-off-by: Wenliang Yan <wenliang202407@163.com> --- Add the meaning of 'shunt-gain' in SQ52206. Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml | 4 ++++ 1 file changed, 4 insertions(+)