summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-03-21 21:00:21 +0300
committerTony Lindgren <tony@atomide.com>2019-04-03 19:32:35 +0300
commita54275f4ab204137c9995c686c7f1cd2682cc0a4 (patch)
tree4684d70c95284a974db6cb523f11fcad3f557ff5 /include/linux/platform_data
parent42b9c5c99bfc26eb2c82fa2a2440cda82d0258e3 (diff)
downloadlinux-a54275f4ab204137c9995c686c7f1cd2682cc0a4.tar.xz
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/linux/platform_data')
-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)