diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2019-10-04 15:53:53 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-10-21 17:50:01 +0300 |
commit | 2d3aa06b5de097747d848a9d714987a4aa2303aa (patch) | |
tree | b7b90299b17a4256a2c2be8e330e41aa64517151 /fs/iomap | |
parent | 0f9d2ecba883d0788a34414a608055479be81ccd (diff) | |
download | linux-2d3aa06b5de097747d848a9d714987a4aa2303aa.tar.xz |
pwm: stm32: Add power management support
Add suspend/resume PM sleep ops. When going to low power, enforce the PWM
channel isn't active. Let the PWM consumers disable it during their own
suspend sequence, see [1]. So, perform a check here, and handle the
pinctrl states. Also restore the break inputs upon resume, as registers
content may be lost when going to low power mode.
[1] https://lkml.org/lkml/2019/2/5/770
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'fs/iomap')
0 files changed, 0 insertions, 0 deletions