summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones2015-05-12 14:58:09 +0200
committerLee Jones2015-07-23 12:34:25 +0200
commit6f2536141ce12e405d70f868451e706216e7e52d (patch)
tree19819bf7bb86dc1e1d748097f9ca6f40fbf4f1f1
parentLinux 4.2-rc2 (diff)
downloadkernel-qcow2-linux-6f2536141ce12e405d70f868451e706216e7e52d.tar.gz
kernel-qcow2-linux-6f2536141ce12e405d70f868451e706216e7e52d.tar.xz
kernel-qcow2-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>
-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__ */