summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-03-21 19:00:21 +0100
committerTony Lindgren <tony@atomide.com>2019-04-03 18:32:35 +0200
commita54275f4ab204137c9995c686c7f1cd2682cc0a4 (patch)
tree4684d70c95284a974db6cb523f11fcad3f557ff5 /include
parentbus: ti-sysc: Add support for early quirks based on register address (diff)
downloadlinux-a54275f4ab204137c9995c686c7f1cd2682cc0a4.tar.xz
linux-a54275f4ab204137c9995c686c7f1cd2682cc0a4.zip
bus: ti-sysc: Add quirk handling for external optional functional clock
We cannot access mcpdm registers at all unless there is an optional pdmclk configured. As this is currently only needed for mcpdm, let's check for mcpdm in sysc_get_clocks(). If it turns out to be needed for other modules too, we can add more flags to the quirks table for this. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/ti-sysc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h
index fa97b8c5d26d..1384e5cdd310 100644
--- a/include/linux/platform_data/ti-sysc.h
+++ b/include/linux/platform_data/ti-sysc.h
@@ -46,6 +46,7 @@ struct sysc_regbits {
s8 emufree_shift;
};
+#define SYSC_QUIRK_EXT_OPT_CLOCK BIT(10)
#define SYSC_QUIRK_LEGACY_IDLE BIT(9)
#define SYSC_QUIRK_RESET_STATUS BIT(8)
#define SYSC_QUIRK_NO_IDLE BIT(7)