summaryrefslogtreecommitdiff
path: root/include/linux/mxc_srtc.h
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2011-03-28 23:02:27 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 19:53:48 +0800
commit23b9078bbe8f46b103fe831dcfb8858dbd587982 (patch)
treeba050c156d798a389d2dd49f8752e346bc1327bb /include/linux/mxc_srtc.h
parentaa41d05faa4cb6a751780dc610306daf0a430d4d (diff)
ENGR00141217-2 include file upgrade to 2.6.38
Add ipu tve header file Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'include/linux/mxc_srtc.h')
-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 000000000000..1d3c7b6feef9
--- /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)