aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2022-04-15 23:21:32 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-04-18 11:25:13 +0800
commit3c48a6246027a06453cb6519ce7a4edbce499c9d (patch)
tree7e7db8338800344a4397144f1acb7e8960c92ecc
parentc57677b06f550502ab00d74b4213f220a68ebfc0 (diff)
downloadu-boot-3c48a6246027a06453cb6519ce7a4edbce499c9d.zip
u-boot-3c48a6246027a06453cb6519ce7a4edbce499c9d.tar.gz
u-boot-3c48a6246027a06453cb6519ce7a4edbce499c9d.tar.bz2
rockchip: rk3228-power: sync power domain dt-binding header from Linux
In order to update the DT for rk3228 sync the power domain dt-binding header. This is the state as of v5.17 in Linux. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--include/dt-bindings/power/rk3228-power.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3228-power.h b/include/dt-bindings/power/rk3228-power.h
new file mode 100644
index 0000000..6a8dc1b
--- /dev/null
+++ b/include/dt-bindings/power/rk3228-power.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3228_POWER_H__
+#define __DT_BINDINGS_POWER_RK3228_POWER_H__
+
+/**
+ * RK3228 idle id Summary.
+ */
+
+#define RK3228_PD_CORE 0
+#define RK3228_PD_MSCH 1
+#define RK3228_PD_BUS 2
+#define RK3228_PD_SYS 3
+#define RK3228_PD_VIO 4
+#define RK3228_PD_VOP 5
+#define RK3228_PD_VPU 6
+#define RK3228_PD_RKVDEC 7
+#define RK3228_PD_GPU 8
+#define RK3228_PD_PERI 9
+#define RK3228_PD_GMAC 10
+
+#endif