mbox series

[0/3] iio: stm32-adc: add PM support

Message ID 1542708752-26163-1-git-send-email-fabrice.gasnier@st.com (mailing list archive)
Headers show
Series iio: stm32-adc: add PM support | expand

Message

Fabrice Gasnier Nov. 20, 2018, 10:12 a.m. UTC
This patch series adds support for power management to stm32-adc iio driver.
It slighlty reworks regulator and clock handling, to move them in dedicated
routines. Then these routines can be called from probe/remove and PM callbacks.
It also takes care of running ADC when going to low power mode.

Fabrice Gasnier (3):
  iio: adc: stm32-adc: move self-calibration to prepare routine
  iio: adc: stm32-adc: add power management support
  iio: adc: stm32-adc: switch off running adc when going to low power

 drivers/iio/adc/stm32-adc-core.c | 182 +++++++++++++++--------
 drivers/iio/adc/stm32-adc.c      | 303 ++++++++++++++++++++++++++++-----------
 2 files changed, 343 insertions(+), 142 deletions(-)