Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: power: Add A523 PPU and PCK600 power controllers

The A523 PPU is likely the same kind of hardware seen on previous SoCs.

The A523 PCK600, as the name suggests, is likely a customized version
of ARM's PCK-600 power controller. Comparing the BSP driver against
ARM's PPU datasheet shows that the basic registers line up, but
Allwinner's hardware has some additional delay controls in the reserved
register range. As such it is likely not fully compatible with the
standard ARM version.

Document A523 PPU and PCK600 compatibles.

Also reorder the compatible string entries so they are grouped and
ordered by family first, then by SoC model.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20250712074021.805953-2-wens@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Chen-Yu Tsai and committed by
Ulf Hansson
f99d4fcc cb1f2ebe

+30 -1
+3 -1
Documentation/devicetree/bindings/power/allwinner,sun20i-d1-ppu.yaml
··· 16 16 properties: 17 17 compatible: 18 18 enum: 19 - - allwinner,sun20i-d1-ppu 20 19 - allwinner,sun8i-v853-ppu 20 + - allwinner,sun20i-d1-ppu 21 + - allwinner,sun55i-a523-pck-600 22 + - allwinner,sun55i-a523-ppu 21 23 22 24 reg: 23 25 maxItems: 1
+15
include/dt-bindings/power/allwinner,sun55i-a523-pck-600.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + 3 + #ifndef _DT_BINDINGS_POWER_SUN55I_A523_PCK600_H_ 4 + #define _DT_BINDINGS_POWER_SUN55I_A523_PCK600_H_ 5 + 6 + #define PD_VE 0 7 + #define PD_GPU 1 8 + #define PD_VI 2 9 + #define PD_VO0 3 10 + #define PD_VO1 4 11 + #define PD_DE 5 12 + #define PD_NAND 6 13 + #define PD_PCIE 7 14 + 15 + #endif /* _DT_BINDINGS_POWER_SUN55I_A523_PCK600_H_ */
+12
include/dt-bindings/power/allwinner,sun55i-a523-ppu.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + 3 + #ifndef _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_ 4 + #define _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_ 5 + 6 + #define PD_DSP 0 7 + #define PD_NPU 1 8 + #define PD_AUDIO 2 9 + #define PD_SRAM 3 10 + #define PD_RISCV 4 11 + 12 + #endif /* _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_ */