summaryrefslogtreecommitdiffstats
path: root/lib/llist.c
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2021-10-14 15:12:27 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-20 15:43:54 +0200
commit0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 (patch)
tree3b343348f8ca63bbc0c28229abf13e787dd8cc5c /lib/llist.c
parentiio: adc: stm32-adc: add support of internal channels (diff)
downloadlinux-0e346b2cfa855d6e6990dbdb220983fbf2bb0b92.tar.xz
linux-0e346b2cfa855d6e6990dbdb220983fbf2bb0b92.zip
iio: adc: stm32-adc: add vrefint calibration support
Add support of vrefint calibration. If a channel is labeled as vrefint, get vrefint calibration from non volatile memory for this channel. vrefint channel is exposed as a processed channel returning the actual value of vrefp: vrefp = 3.3 x vrefint_cal / vrefint_data A conversion on vrefint channel allows to update scale factor according to vrefint deviation, compared to vrefint calibration value. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20211014131228.4692-7-olivier.moysan@foss.st.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions