summaryrefslogtreecommitdiff
path: root/drivers/bus/ti-sysc.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2021-09-21 12:42:25 +0300
committerTony Lindgren <tony@atomide.com>2021-09-21 12:50:38 +0300
commitd48dca51935b8ca13356e726442c21ec94668d69 (patch)
tree68f89b04aad6b4681525f4cd5c188f8b1f471f0f /drivers/bus/ti-sysc.c
parent6a52bc2b81fa06b7ab98472c7d80644e8e071af6 (diff)
downloadlwn-d48dca51935b8ca13356e726442c21ec94668d69.tar.gz
lwn-d48dca51935b8ca13356e726442c21ec94668d69.zip
bus: ti-sysc: Use context lost quirks for gpmc
At least on am335x, the gpmc module needs a re-init and reset if context has been lost on resume. We can enable this for all gpmc revisions as we check if the context was lost before restoring it. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/bus/ti-sysc.c')
-rw-r--r--drivers/bus/ti-sysc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index cacdc4e301fb..b93e0ae94d47 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -1574,6 +1574,7 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
SYSC_QUIRK("dwc3", 0x488c0000, 0, 0x10, -ENODEV, 0x500a0200, 0xffffffff,
SYSC_QUIRK_CLKDM_NOAUTO),
SYSC_QUIRK("gpmc", 0, 0, 0x10, 0x14, 0x00000060, 0xffffffff,
+ SYSC_QUIRK_REINIT_ON_CTX_LOST | SYSC_QUIRK_RESET_ON_CTX_LOST |
SYSC_QUIRK_GPMC_DEBUG),
SYSC_QUIRK("hdmi", 0, 0, 0x10, -ENODEV, 0x50030200, 0xffffffff,
SYSC_QUIRK_OPT_CLKS_NEEDED),