Skip to content
Unverified Commit 3bfd9103 authored by Ikjoon Jang's avatar Ikjoon Jang Committed by Mark Brown
Browse files

spi: spi-mtk-nor: Add power management support



This patch adds dev_pm_ops to mtk-nor to support suspend/resume,
auto suspend delay is set to -1 by default.

Accessing registers are only permitted after its clock is enabled
to deal with unknown state of operating clk at probe time.

Signed-off-by: default avatarIkjoon Jang <ikjn@chromium.org>
Link: https://lore.kernel.org/r/20201006155010.v5.4.I68983b582d949a91866163bab588ff3c2a0d0275@changeid


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e836d4cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment