]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: power: add V853 ppu bindings
authorAndras Szemzo <szemzo.andras@gmail.com>
Wed, 5 Feb 2025 12:52:20 +0000 (13:52 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 14 Feb 2025 10:23:27 +0000 (11:23 +0100)
Document V853 PPU compatible.

Signed-off-by: Andras Szemzo <szemzo.andras@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250205125225.1152849-6-szemzo.andras@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/power/allwinner,sun20i-d1-ppu.yaml
include/dt-bindings/power/allwinner,sun8i-v853-ppu.h [new file with mode: 0644]

index 46e2647a5d727c3ba504a3a6f4c043ab88f7f0ab..f578be6a3bc8ad201b637a0b4ac347bdab11a724 100644 (file)
@@ -17,6 +17,7 @@ properties:
   compatible:
     enum:
       - allwinner,sun20i-d1-ppu
+      - allwinner,sun8i-v853-ppu
 
   reg:
     maxItems: 1
diff --git a/include/dt-bindings/power/allwinner,sun8i-v853-ppu.h b/include/dt-bindings/power/allwinner,sun8i-v853-ppu.h
new file mode 100644 (file)
index 0000000..b1c18a4
--- /dev/null
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+
+#ifndef _DT_BINDINGS_POWER_SUN8I_V853_PPU_H_
+#define _DT_BINDINGS_POWER_SUN8I_V853_PPU_H_
+
+#define PD_RISCV               0
+#define PD_NPU                 1
+#define PD_VE                  2
+
+#endif