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 New
Headers show
Series Support for Allwinner V853 SoC | expand

Commit Message

Andras Szemzo 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