Skip to contentSkip to conversation

intel_scu_ipc: add definitions for vRTC related command

PATCH New Alan Cox 1 participant 1 message Jun 1, 2010

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 intel_scu_ipc: add definitions for vRTC related command

From: Feng Tang <[email protected]>

---

 arch/x86/include/asm/intel_scu_ipc.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/x86/include/asm/intel_scu_ipc.h +6 -0
index 4470c9a..0320045 100644
@@ -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);