]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3066-power: sync power domain dt-binding header from Linux
authorJohan Jonker <jbx6244@gmail.com>
Sat, 16 Apr 2022 15:09:37 +0000 (17:09 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
In order to update the DT for rk3066
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>
include/dt-bindings/power/rk3066-power.h [new file with mode: 0644]

diff --git a/include/dt-bindings/power/rk3066-power.h b/include/dt-bindings/power/rk3066-power.h
new file mode 100644 (file)
index 0000000..acf9f31
--- /dev/null
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3066_POWER_H__
+#define __DT_BINDINGS_POWER_RK3066_POWER_H__
+
+/* VD_CORE */
+#define RK3066_PD_A9_0         0
+#define RK3066_PD_A9_1         1
+#define RK3066_PD_DBG          4
+#define RK3066_PD_SCU          5
+
+/* VD_LOGIC */
+#define RK3066_PD_VIDEO                6
+#define RK3066_PD_VIO          7
+#define RK3066_PD_GPU          8
+#define RK3066_PD_PERI         9
+#define RK3066_PD_CPU          10
+#define RK3066_PD_ALIVE                11
+
+/* VD_PMU */
+#define RK3066_PD_RTC          12
+
+#endif