* [PATCH] intel_scu_ipc: add definitions for vRTC related command
@ 2010-06-01 12:07 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2010-06-01 12:07 UTC (permalink / raw)
To: mjg, platform-driver-x86
From: Feng Tang <feng.tang@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
arch/x86/include/asm/intel_scu_ipc.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/intel_scu_ipc.h b/arch/x86/include/asm/intel_scu_ipc.h
index 4470c9a..0320045 100644
--- a/arch/x86/include/asm/intel_scu_ipc.h
+++ b/arch/x86/include/asm/intel_scu_ipc.h
@@ -1,6 +1,12 @@
#ifndef _ASM_X86_INTEL_SCU_IPC_H_
#define _ASM_X86_INTEL_SCU_IPC_H_
+#define IPCMSG_VRTC 0xFA /* Set vRTC device */
+
+/* Command id associated with message IPCMSG_VRTC */
+#define IPC_CMD_VRTC_SETTIME 1 /* Set time */
+#define IPC_CMD_VRTC_SETALARM 2 /* Set alarm */
+
/* Read single register */
int intel_scu_ipc_ioread8(u16 addr, u8 *data);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-01 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 12:07 [PATCH] intel_scu_ipc: add definitions for vRTC related command Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox