[PATCH v2 0/3] STM32 ADC analog switches supply control

From: Fabrice Gasnier
Date: Wed Jul 03 2019 - 06:09:03 EST


This series adds support for SYSCFG bits that control ADC analog switches
supply on STM32MP1 and STM32H7.

The ADC inputs are multiplexed with analog switches which have reduced
performances when their supply is below 2.7V. Analog switches supply
can be controlled using SYSCFG bits, to reach full ADC performance.

---
Changes in v2:
- Rework since: "Add missing vdda-supply to STM32 ADC" series [1].
- Booster is handled by a regulator driver, see
"regulator: add support for the STM32 ADC booster" series [2].
- Only enable vdd regulator when needed
- Fix typos

[1] https://lkml.org/lkml/2019/6/19/411
[2] https://lkml.org/lkml/2019/6/28/188

Fabrice Gasnier (3):
dt-bindings: iio: adc: stm32: add analog switches supply control
iio: adc: stm32-adc: add analog switches supply control
ARM: dts: stm32: add syscfg to ADC on stm32mp157c

.../devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 +
arch/arm/boot/dts/stm32mp157c.dtsi | 1 +
drivers/iio/adc/stm32-adc-core.c | 193 ++++++++++++++++++++-
3 files changed, 199 insertions(+), 1 deletion(-)

--
2.7.4