Re: [PATCH v5 14/21] hwmon: (mr75203) add VM pre-scaler x2 support

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

 



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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux