aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jonker2021-06-25 15:26:31 +0200
committerKever Yang2021-08-11 17:54:37 +0800
commit76dccdca2e7e45106b0f1b5498c05056e92c1077 (patch)
treed831d7c99c602f4e0d1db35b2adb210980a234d0
parent2ee023d2934ab834f20afc3c8d6e2e9e6b3eb9e0 (diff)
rockchip: rk3188-power: sync power domain dt-binding header from Linux
In order to update the DT for rk3188 sync the power domain dt-binding header. This is the state as of v5.12 in Linux. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--include/dt-bindings/power/rk3188-power.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3188-power.h b/include/dt-bindings/power/rk3188-power.h
new file mode 100644
index 00000000000..93d23dfba33
--- /dev/null
+++ b/include/dt-bindings/power/rk3188-power.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3188_POWER_H__
+#define __DT_BINDINGS_POWER_RK3188_POWER_H__
+
+/* VD_CORE */
+#define RK3188_PD_A9_0 0
+#define RK3188_PD_A9_1 1
+#define RK3188_PD_A9_2 2
+#define RK3188_PD_A9_3 3
+#define RK3188_PD_DBG 4
+#define RK3188_PD_SCU 5
+
+/* VD_LOGIC */
+#define RK3188_PD_VIDEO 6
+#define RK3188_PD_VIO 7
+#define RK3188_PD_GPU 8
+#define RK3188_PD_PERI 9
+#define RK3188_PD_CPU 10
+#define RK3188_PD_ALIVE 11
+
+/* VD_PMU */
+#define RK3188_PD_RTC 12
+
+#endif