commit | 3bfd9103c7af07915a84a6849e718622936233c1 | [log] [tgz] |
---|---|---|
author | Ikjoon Jang <ikjn@chromium.org> | Tue Oct 06 15:54:05 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 06 15:53:47 2020 +0100 |
tree | 15cb51b718446d2c9fffea58433801efe7f85fbd | |
parent | e836d4cf615f89c6695408e5dcacdefa5cf50167 [diff] |
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: Ikjoon Jang <ikjn@chromium.org> Link: https://lore.kernel.org/r/20201006155010.v5.4.I68983b582d949a91866163bab588ff3c2a0d0275@changeid Signed-off-by: Mark Brown <broonie@kernel.org>