aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cs5535.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/cs5535.h b/include/linux/cs5535.h
index 2facf16f017b..6f78235cb905 100644
--- a/include/linux/cs5535.h
+++ b/include/linux/cs5535.h
@@ -43,6 +43,10 @@
43#define MSR_GX_GLD_MSR_CONFIG 0xC0002001 43#define MSR_GX_GLD_MSR_CONFIG 0xC0002001
44#define MSR_GX_MSR_PADSEL 0xC0002011 44#define MSR_GX_MSR_PADSEL 0xC0002011
45 45
46/* PIC registers */
47#define CS5536_PIC_INT_SEL1 0x4d0
48#define CS5536_PIC_INT_SEL2 0x4d1
49
46/* resource sizes */ 50/* resource sizes */
47#define LBAR_GPIO_SIZE 0xFF 51#define LBAR_GPIO_SIZE 0xFF
48#define LBAR_MFGPT_SIZE 0x40 52#define LBAR_MFGPT_SIZE 0x40
@@ -70,6 +74,10 @@
70#define CS5536_PM1_CNT 0x08 74#define CS5536_PM1_CNT 0x08
71#define CS5536_PM_GPE0_STS 0x18 75#define CS5536_PM_GPE0_STS 0x18
72 76
77/* CS5536_PM1_STS bits */
78#define CS5536_WAK_FLAG (1 << 15)
79#define CS5536_PWRBTN_FLAG (1 << 8)
80
73/* CS5536_PM1_EN bits */ 81/* CS5536_PM1_EN bits */
74#define CS5536_PM_PWRBTN (1 << 8) 82#define CS5536_PM_PWRBTN (1 << 8)
75 83