aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-09-24 15:16:59 -0400
committerTony Lindgren <tony@atomide.com>2018-09-24 15:16:59 -0400
commitb82beef51817953eef1ad47e2e5e983e167a8863 (patch)
tree5f57fe4102d597dd1eee30bb365ddffbd7621659
parent40d9f9124822013331367fb4ab59936c3ac944d6 (diff)
bus: ti-sysc: Update revision masks to support am437x
We need to detect few new devices to tag for noirq_suspend and pm_runtime_irq_safe to avoid causing regressions compared to legacy platform data booting. Let's update i2c, gpio, uart and wdt revision masks to detect them on am437x. Note that we can remove the second wdt entry with the updated mask. Note that we also have some uarts with a different revision register. Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--drivers/bus/ti-sysc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 087a67617eef..f7c9c1e3673a 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -869,7 +869,7 @@ struct sysc_revision_quirk {
869 869
870static const struct sysc_revision_quirk sysc_revision_quirks[] = { 870static const struct sysc_revision_quirk sysc_revision_quirks[] = {
871 /* These drivers need to be fixed to not use pm_runtime_irq_safe() */ 871 /* These drivers need to be fixed to not use pm_runtime_irq_safe() */
872 SYSC_QUIRK("gpio", 0, 0, 0x10, 0x114, 0x50600801, 0xffffffff, 872 SYSC_QUIRK("gpio", 0, 0, 0x10, 0x114, 0x50600801, 0xffff0fff,
873 SYSC_QUIRK_LEGACY_IDLE | SYSC_QUIRK_OPT_CLKS_IN_RESET), 873 SYSC_QUIRK_LEGACY_IDLE | SYSC_QUIRK_OPT_CLKS_IN_RESET),
874 SYSC_QUIRK("mmu", 0, 0, 0x10, 0x14, 0x00000020, 0xffffffff, 874 SYSC_QUIRK("mmu", 0, 0, 0x10, 0x14, 0x00000020, 0xffffffff,
875 SYSC_QUIRK_LEGACY_IDLE), 875 SYSC_QUIRK_LEGACY_IDLE),
@@ -889,7 +889,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
889 SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff, 889 SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
890 SYSC_QUIRK_LEGACY_IDLE), 890 SYSC_QUIRK_LEGACY_IDLE),
891 /* Uarts on omap4 and later */ 891 /* Uarts on omap4 and later */
892 SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffffffff, 892 SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffff00ff,
893 SYSC_QUIRK_LEGACY_IDLE),
894 SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47422e03, 0xffffffff,
893 SYSC_QUIRK_LEGACY_IDLE), 895 SYSC_QUIRK_LEGACY_IDLE),
894 896
895#ifdef DEBUG 897#ifdef DEBUG