intel_scu_ipc: add definitions for vRTC related command
authorFeng Tang <feng.tang@intel.com>
Tue, 1 Jun 2010 12:07:34 +0000 (13:07 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:47 +0000 (09:48 -0400)
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
arch/x86/include/asm/intel_scu_ipc.h

index 4470c9ad4a3e543ee2725a4aebf99cd1301df2d8..03200452069bdae0e89ca0d535ad31924de58b14 100644 (file)
@@ -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);