Re: [PATCH v2 13/14] hwmon: (ina2xx) Add support for current limits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 29, 2024 at 06:05:53PM -0700, Guenter Roeck wrote:
> While the chips supported by this driver do not directly support current
> limits, they do support setting shunt voltage limits. The shunt voltage
> divided by the shunt resistor value is the current. On top of that,
> calibration values are set such that in the shunt voltage register and
> the current register report the same values. That means we can report and
> configure current limits based on shunt voltage limits, and we can do so
> with much better accuracy than by setting shunt voltage limits.
> 
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux