aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-09-02 10:12:35 +0800
committerEric Miao <eric.miao@linaro.org>2011-10-14 09:56:50 +0800
commit32df9268f10f1e7a4a44aaf1a4372058e4bc691e (patch)
treecef52eb028242dfdf39d46abb62e6de85839950d /include
parent892f3c12e06c5b51f2b32368d5340da07f09bb24 (diff)
mx53_loco: add srtc device
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_srtc.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/mxc_srtc.h b/include/linux/mxc_srtc.h
new file mode 100644
index 00000000000..1d3c7b6feef
--- /dev/null
+++ b/include/linux/mxc_srtc.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ */
+
+/*
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/*!
+ * @file mxc_srtc.h
+ *
+ * @brief SRTC IOCTL definitions
+ *
+ * @ingroup RTC
+ */
+
+
+#define RTC_READ_TIME_47BIT _IOR('p', 0x20, unsigned long long)
+/* blocks until LPSCMR is set, returns difference */
+#define RTC_WAIT_TIME_SET _IOR('p', 0x21, int64_t)