summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/mfd/st-lpc.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-04-09 15:47:26 +0100
committerLee Jones <lee.jones@linaro.org>2015-04-30 11:43:09 +0100
commit0b30d25d08ab2033fd6e7fced7fa0d77f9eaa7de (patch)
tree6abe6a389e1550fea35dd7bbb19ec7c3f92ffae2 /include/dt-bindings/mfd/st-lpc.h
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadlinux-0b30d25d08ab2033fd6e7fced7fa0d77f9eaa7de.tar.gz
linux-0b30d25d08ab2033fd6e7fced7fa0d77f9eaa7de.tar.bz2
linux-0b30d25d08ab2033fd6e7fced7fa0d77f9eaa7de.zip
mfd: dt-bindings: Provide human readable defines for LPC mode choosing
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/dt-bindings/mfd/st-lpc.h')
-rw-r--r--include/dt-bindings/mfd/st-lpc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/st-lpc.h b/include/dt-bindings/mfd/st-lpc.h
new file mode 100644
index 000000000000..e3e6c75d8822
--- /dev/null
+++ b/include/dt-bindings/mfd/st-lpc.h
@@ -0,0 +1,15 @@
+/*
+ * This header provides shared DT/Driver defines for ST's LPC device
+ *
+ * Copyright (C) 2014 STMicroelectronics -- All Rights Reserved
+ *
+ * Author: Lee Jones <lee.jones@linaro.org> for STMicroelectronics
+ */
+
+#ifndef __DT_BINDINGS_ST_LPC_H__
+#define __DT_BINDINGS_ST_LPC_H__
+
+#define ST_LPC_MODE_RTC 0
+#define ST_LPC_MODE_WDT 1
+
+#endif /* __DT_BINDINGS_ST_LPC_H__ */