summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-05-12 15:58:09 +0300
committerLee Jones <lee.jones@linaro.org>2015-07-23 13:34:25 +0300
commit6f2536141ce12e405d70f868451e706216e7e52d (patch)
tree19819bf7bb86dc1e1d748097f9ca6f40fbf4f1f1
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadlinux-6f2536141ce12e405d70f868451e706216e7e52d.tar.xz
mfd: dt-bindings: Provide human readable define for Clocksource mode
ST's Low Power Controller can now operate in three supported modes; Watchdog, Real Time Clock and most recently as a Clocksource. This new define will allow the LPC IP to be configured for Clocksource from DT. Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--include/dt-bindings/mfd/st-lpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/st-lpc.h b/include/dt-bindings/mfd/st-lpc.h
index e3e6c75d8822..d05894afa7e7 100644
--- a/include/dt-bindings/mfd/st-lpc.h
+++ b/include/dt-bindings/mfd/st-lpc.h
@@ -11,5 +11,6 @@
#define ST_LPC_MODE_RTC 0
#define ST_LPC_MODE_WDT 1
+#define ST_LPC_MODE_CLKSRC 2
#endif /* __DT_BINDINGS_ST_LPC_H__ */