Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89c07b9b authored by Shilpa Suresh's avatar Shilpa Suresh
Browse files

iio: spmi-vadc: Add option to specify scale-fn-type in devicetree



There are chances that some signals would share the same ADC
channel but have different scale functions. Add an option to
specify scale-fn-type in devicetree to handle such kind of
requirements. Also modify the channel info mask to include
IIO_CHAN_INFO_PROCESSED bit if the scale-fn-type is specified
in the device tree.

Change-Id: Ib9a7c73a2cdab5e4288b3a83c2437d7e22c34636
Signed-off-by: default avatarShilpa Suresh <sbsure@codeaurora.org>
parent a2e940bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment