linux-loongson/include/dt-bindings/power/allwinner,sun55i-a523-ppu.h
Chen-Yu Tsai f99d4fccd2 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>
2025-07-15 16:03:32 +02:00

13 lines
306 B
C

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
#ifndef _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_
#define _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_
#define PD_DSP 0
#define PD_NPU 1
#define PD_AUDIO 2
#define PD_SRAM 3
#define PD_RISCV 4
#endif /* _DT_BINDINGS_POWER_SUN55I_A523_PPU_H_ */