summaryrefslogtreecommitdiffstats
path: root/firmware/export/r61509.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/r61509.h')
-rw-r--r--firmware/export/r61509.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/firmware/export/r61509.h b/firmware/export/r61509.h
index 8ca3b6d00b..519ad3ec86 100644
--- a/firmware/export/r61509.h
+++ b/firmware/export/r61509.h
@@ -106,9 +106,24 @@
#define ENTRY_MODE_AM (1 << 3)
#define ENTRY_MODE_EPF(n) (n & 3)
+#define DISP_CTRL1_PTDE(n) ((n & 4) << 12)
+#define DISP_CTRL1_BASEE (1 << 8)
+#define DISP_CTRL1_VON (1 << 6)
+#define DISP_CTRL1_GON (1 << 5)
+#define DISP_CTRL1_DTE (1 << 4)
+#define DISP_CTRL1_D(n) (n & 3)
+
+#define PWR_CTRL1_SAP(n) ((n & 3) << 13)
+#define PWR_CTRL1_SAPE (1 << 12)
+#define PWR_CTRL1_BT(n) ((n & 7) << 8)
+#define PWR_CTRL1_APE (1 << 7)
+#define PWR_CTRL1_AP(n) ((n & 7) << 4)
+#define PWR_CTRL1_DSTB (1 << 2)
+#define PWR_CTRL1_SLP (1 << 1)
+
#define SOFT_RESET(n) (n << 0)
#define ENDIAN_CTRL_BIG
#define ENDIAN_CTRL_LITTLE
-#endif /* __R61509_H */ \ No newline at end of file
+#endif /* __R61509_H */