Re: [PATCH] hwmon: (pmbus/bpa-rs600): Handle Vin readings >= 256V

From: Guenter Roeck
Date: Thu Jun 17 2021 - 07:22:21 EST


On Wed, Jun 16, 2021 at 03:42:18PM +1200, Chris Packham wrote:
> The BPA-RS600 doesn't follow the PMBus spec for linear data.
> Specifically it treats the mantissa as an unsigned 11-bit value instead
> of a two's complement 11-bit value. At this point it's unclear whether
> this only affects Vin or if Pin/Pout1 are affected as well. Erring on
> the side of caution only Vin is dealt with here.
>
> Fixes: 15b2703e5e02 ("hwmon: (pmbus) Add driver for BluTek BPA-RS600")
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter