diff options
author | Eliav Farber <[email protected]> | 2022-09-08 15:24:42 +0000 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-09-19 06:17:06 -0700 |
commit | 430c0d7ff56b7e324eb36c490d513c0ef9c99860 (patch) | |
tree | 23846145d571adfdf7131b320bb664cf483c3f5a /net/lapb/lapb_out.c | |
parent | 64a2486c392506fc14db843bbc5998d567f22c6f (diff) |
hwmon: (mr75203) add VM pre-scaler x2 support
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Addressed conflicts against commit d59eacaac953]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions