diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2019-10-04 14:53:53 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-10-21 16:50:01 +0200 |
commit | 2d3aa06b5de097747d848a9d714987a4aa2303aa (patch) | |
tree | b7b90299b17a4256a2c2be8e330e41aa64517151 /net/packet/Kconfig | |
parent | 0f9d2ecba883d0788a34414a608055479be81ccd (diff) | |
download | blackbird-op-linux-2d3aa06b5de097747d848a9d714987a4aa2303aa.tar.gz blackbird-op-linux-2d3aa06b5de097747d848a9d714987a4aa2303aa.zip |
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 'net/packet/Kconfig')
0 files changed, 0 insertions, 0 deletions