dt-bindings: hwmon: (mr75203) add "moortec,vm-pre-scaler-x2" property
authorEliav Farber <farbere@amazon.com>
Thu, 8 Sep 2022 15:24:41 +0000 (15:24 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 19 Sep 2022 13:17:06 +0000 (06:17 -0700)
commit64a2486c392506fc14db843bbc5998d567f22c6f
treec643ce319b2fb1962a2a4583160f313651c39435
parentb7f5ac92fe18cd920b8d3f7e56a83ae16f7ecfbc
dt-bindings: hwmon: (mr75203) add "moortec,vm-pre-scaler-x2" property

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 to -0.1V to 1V).

The new "moortec,vm-pre-scaler-x2" property lists the channels that use
the mr76006 pre-scaler.

The driver will use this list to multiply the voltage result by 2, to
present to the user with the actual voltage input source.

Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220908152449.35457-14-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml