Re: [PATCH v5 14/21] hwmon: (mr75203) add VM pre-scaler x2 support
From: Guenter Roeck
Date: Mon Sep 19 2022 - 09:10:52 EST
On Thu, Sep 08, 2022 at 03:24:42PM +0000, Eliav Farber wrote:
> Add support for mr76006 pre-scaler which provides divide-by-2 scaling
> of the input voltage, so that it can be presented to the VM for
> measurement within its range (the VM input range is limited from -0.1V
> to 1V).
>
> The driver reads from the device-tree all the channels that use the
> mr76006 pre-scaler and multiplies the voltage result by a factor of 2,
> to represent to the user with the actual voltage input source.
>
> Channels that are not in the device-tree are multiplied by a factor
> of 1.
>
> Signed-off-by: Eliav Farber <farbere@xxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Applied, after resolving a minor conflict against commit d59eacaac953
("hwmon/drivers/mr75203: use HZ macros") from September 2021.
In the future, please base your patch series on the latest upstream
kernel version.
Thanks,
Guenter