summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-05-12 13:58:09 +0100
committerLee Jones <lee.jones@linaro.org>2015-07-23 11:34:25 +0100
commit6f2536141ce12e405d70f868451e706216e7e52d (patch)
tree19819bf7bb86dc1e1d748097f9ca6f40fbf4f1f1 /include/dt-bindings
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadblackbird-op-linux-6f2536141ce12e405d70f868451e706216e7e52d.tar.gz
blackbird-op-linux-6f2536141ce12e405d70f868451e706216e7e52d.zip
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>
Diffstat (limited to 'include/dt-bindings')
-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__ */
OpenPOWER on IntegriCloud