mbox series

[0/2] ASoC: stm32: i2s: add power management

Message ID 1549622994-13810-1-git-send-email-olivier.moysan@st.com (mailing list archive)
Headers show
Series ASoC: stm32: i2s: add power management | expand

Message

Olivier MOYSAN Feb. 8, 2019, 10:49 a.m. UTC
Add support of system low power modes to STM32 I2S driver:
Implement sleep PM suspend and resume callbacks,
to restore STM32 I2S registers after low power modes.

Add STM32 I2S peripheral and kernel clocks power management:
- Enable/disable kernel clock on audio stream startup/shutdown.
- Manage peripheral clock power through regmap services .

Olivier Moysan (2):
  ASoC: stm32: i2s: add power management
  SoC: stm32: i2s: manage clock power

 sound/soc/stm/stm32_i2s.c | 77 +++++++++++++++++++++++++++--------------------
 1 file changed, 45 insertions(+), 32 deletions(-)