mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

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>
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/power/allwinner,sun20i-d1-ppu.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Allwinner SoCs PPU power domain controller
|
|
|
|
maintainers:
|
|
- Samuel Holland <samuel@sholland.org>
|
|
|
|
description:
|
|
D1 and related SoCs contain a power domain controller for the CPUs, GPU, and
|
|
video-related hardware.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- allwinner,sun8i-v853-ppu
|
|
- allwinner,sun20i-d1-ppu
|
|
- allwinner,sun55i-a523-pck-600
|
|
- allwinner,sun55i-a523-ppu
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description: Bus Clock
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
'#power-domain-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- resets
|
|
- '#power-domain-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/sun20i-d1-r-ccu.h>
|
|
#include <dt-bindings/reset/sun20i-d1-r-ccu.h>
|
|
|
|
ppu: power-controller@7001000 {
|
|
compatible = "allwinner,sun20i-d1-ppu";
|
|
reg = <0x7001000 0x1000>;
|
|
clocks = <&r_ccu CLK_BUS_R_PPU>;
|
|
resets = <&r_ccu RST_BUS_R_PPU>;
|
|
#power-domain-cells = <1>;
|
|
};
|