diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2019-07-03 12:08:15 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-07-27 20:11:16 +0100 |
commit | 3a81bde5457ec3292cf05c83c9a0b731b1b1531e (patch) | |
tree | 3d4ace16bd8e1001875747f01120dd56808588ed /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | a85a43e04523df3b0f1e5f3100592806e29966a8 (diff) | |
download | linux-3a81bde5457ec3292cf05c83c9a0b731b1b1531e.tar.gz linux-3a81bde5457ec3292cf05c83c9a0b731b1b1531e.tar.bz2 linux-3a81bde5457ec3292cf05c83c9a0b731b1b1531e.zip |
iio: adc: stm32-adc: add analog switches supply control
On stm32h7 and stm32mp1, the ADC inputs are multiplexed with analog
switches which have reduced performances when their supply is below 2.7V
(vdda by default):
- 3.3V embedded booster can be used, to get full ADC performances
(increases power consumption).
- vdd supply can be selected if above 2.7V by setting ANASWVDD syscfg bit,
on STM32MP1 only.
Make this optional, since this is a trade-off between analog performance
and power consumption.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions