aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cs5535.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cs5535.h')
-rw-r--r--include/linux/cs5535.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/cs5535.h b/include/linux/cs5535.h
index 6fe2114f8ad2..e46b8b0f9057 100644
--- a/include/linux/cs5535.h
+++ b/include/linux/cs5535.h
@@ -49,6 +49,27 @@
49#define LBAR_ACPI_SIZE 0x40 49#define LBAR_ACPI_SIZE 0x40
50#define LBAR_PMS_SIZE 0x80 50#define LBAR_PMS_SIZE 0x80
51 51
52/*
53 * PMC registers (PMS block)
54 * It is only safe to access these registers as dword accesses.
55 * See CS5536 Specification Update erratas 17 & 18
56 */
57#define CS5536_PM_SCLK 0x10
58#define CS5536_PM_IN_SLPCTL 0x20
59#define CS5536_PM_WKXD 0x34
60#define CS5536_PM_WKD 0x30
61#define CS5536_PM_SSC 0x54
62
63/*
64 * PM registers (ACPI block)
65 * It is only safe to access these registers as dword accesses.
66 * See CS5536 Specification Update erratas 17 & 18
67 */
68#define CS5536_PM1_STS 0x00
69#define CS5536_PM1_EN 0x02
70#define CS5536_PM1_CNT 0x08
71#define CS5536_PM_GPE0_STS 0x18
72
52/* VSA2 magic values */ 73/* VSA2 magic values */
53#define VSA_VRC_INDEX 0xAC1C 74#define VSA_VRC_INDEX 0xAC1C
54#define VSA_VRC_DATA 0xAC1E 75#define VSA_VRC_DATA 0xAC1E