summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorWalker Chen <walker.chen@starfivetech.com>2023-01-19 17:44:46 +0800
committerConor Dooley <conor.dooley@microchip.com>2023-01-20 21:55:29 +0000
commit1fc7606d5083f79a20eb9cfd77c0dbd9299421c1 (patch)
tree92afb8043f0fa42b4e06ca2a7452e2c81b5f39f8 /include/dt-bindings
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-rpi-1fc7606d5083f79a20eb9cfd77c0dbd9299421c1.tar.gz
linux-rpi-1fc7606d5083f79a20eb9cfd77c0dbd9299421c1.tar.bz2
linux-rpi-1fc7606d5083f79a20eb9cfd77c0dbd9299421c1.zip
dt-bindings: power: Add starfive,jh7110-pmu
Add bindings for the Power Management Unit on the StarFive JH7110 SoC. Signed-off-by: Walker Chen <walker.chen@starfivetech.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/power/starfive,jh7110-pmu.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h
new file mode 100644
index 000000000000..132bfe401fc8
--- /dev/null
+++ b/include/dt-bindings/power/starfive,jh7110-pmu.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2022 StarFive Technology Co., Ltd.
+ * Author: Walker Chen <walker.chen@starfivetech.com>
+ */
+#ifndef __DT_BINDINGS_POWER_JH7110_POWER_H__
+#define __DT_BINDINGS_POWER_JH7110_POWER_H__
+
+#define JH7110_PD_SYSTOP 0
+#define JH7110_PD_CPU 1
+#define JH7110_PD_GPUA 2
+#define JH7110_PD_VDEC 3
+#define JH7110_PD_VOUT 4
+#define JH7110_PD_ISP 5
+#define JH7110_PD_VENC 6
+
+#endif