aboutsummaryrefslogtreecommitdiff
path: root/include/linux/iio/afe
AgeCommit message (Collapse)AuthorFilesLines
2022-02-27iio: afe: rescale: add offset supportLiam Beguin1-0/+4
This is a preparatory change required for the addition of temperature sensing front ends. Signed-off-by: Liam Beguin <[email protected]> Reviewed-by: Peter Rosin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2022-02-27iio: afe: rescale: expose scale processing functionLiam Beguin1-0/+32
In preparation for the addition of kunit tests, expose the logic responsible for combining channel scales. Signed-off-by: Liam Beguin <[email protected]> Reviewed-by: Peter Rosin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>