aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJoakim Zhang <[email protected]>2020-07-27 22:17:34 +0800
committerMarc Zyngier <[email protected]>2020-07-27 08:55:05 +0100
commitbb403111e017a327737242eca40311921f833627 (patch)
treecfb34ea100b0f12182c7be577cc2eca8e8510125 /lib/mpi/mpi-sub-ui.c
parentd1bd7e0ba533a2a6f313579ec9b504f6614c35c4 (diff)
irqchip/imx-intmux: Implement intmux runtime power management
When the system is suspended, we can explicitly disable clock to save power. To achieve this, we need save registers' state since it could be lost after power off. Implement power management which will: - Turn the clock off after probing - Disable clock and save registers' state on system suspend, as well as enable clock and restore registers' state on resume - Rely on the Power Domain framework to shutdown the intmux power domain Without CONFIG_PM, the clock is always on after probe stage. Signed-off-by: Joakim Zhang <[email protected]> [maz: revamped commit message] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions