diff mbox series

[09/12] dt-bindings: power: add V853 ppu bindings

Message ID 20250110123923.270626-10-szemzo.andras@gmail.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Support for Allwinner V853 SoC | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR fail PR summary
conchuod/patch-9-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh took 102.35s
conchuod/patch-9-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh took 1024.31s
conchuod/patch-9-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh took 1203.50s
conchuod/patch-9-test-4 success .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh took 15.89s
conchuod/patch-9-test-5 success .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh took 17.59s
conchuod/patch-9-test-6 warning .github/scripts/patches/tests/checkpatch.sh took 0.50s
conchuod/patch-9-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh took 35.78s
conchuod/patch-9-test-8 success .github/scripts/patches/tests/header_inline.sh took 0.00s
conchuod/patch-9-test-9 success .github/scripts/patches/tests/kdoc.sh took 0.51s
conchuod/patch-9-test-10 success .github/scripts/patches/tests/module_param.sh took 0.01s
conchuod/patch-9-test-11 success .github/scripts/patches/tests/verify_fixes.sh took 0.00s
conchuod/patch-9-test-12 success .github/scripts/patches/tests/verify_signedoff.sh took 0.02s

Commit Message

András Szemző Jan. 10, 2025, 12:39 p.m. UTC
The device-tree needs ppu indexes, add it.

Signed-off-by: Andras Szemzo <szemzo.andras@gmail.com>
---
 include/dt-bindings/power/allwinner,sun8i-v853-ppu.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 include/dt-bindings/power/allwinner,sun8i-v853-ppu.h

Comments

Krzysztof Kozlowski Jan. 10, 2025, 1:53 p.m. UTC | #1
On 10/01/2025 13:39, Andras Szemzo wrote:
> The device-tree needs ppu indexes, add it.


This belongs to the commit introducing binding. Squash it.


Best regards,
Krzysztof
diff mbox series

Patch

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
index 000000000000..b1c18a490613
--- /dev/null
+++ b/include/dt-bindings/power/allwinner,sun8i-v853-ppu.h
@@ -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