aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorElaine Zhang2018-05-23 14:50:31 +0800
committerHeiko Stuebner2018-05-23 20:47:57 +0200
commit1844cc7ebb95d500fcf13fa491017e760947db0e (patch)
treee6329feaff8c7ec24f97b75ef6e30fb1caf32600 /include/dt-bindings/power
parent6f686e85eda6b03796cda4ea04fb8a429d69eb54 (diff)
dt-bindings: power: add RK3128 SoCs header for power-domain
According to a description from TRM, add all the power domains. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/rk3128-power.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3128-power.h b/include/dt-bindings/power/rk3128-power.h
new file mode 100644
index 000000000000..c051dc3108db
--- /dev/null
+++ b/include/dt-bindings/power/rk3128-power.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3128_POWER_H__
+#define __DT_BINDINGS_POWER_RK3128_POWER_H__
+
+/* VD_CORE */
+#define RK3128_PD_CORE 0
+
+/* VD_LOGIC */
+#define RK3128_PD_VIO 1
+#define RK3128_PD_VIDEO 2
+#define RK3128_PD_GPU 3
+#define RK3128_PD_MSCH 4
+
+#endif