]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: sunxi-ng: add support for the A523/T527 PRCM CCU
authorAndre Przywara <andre.przywara@arm.com>
Fri, 7 Mar 2025 00:26:28 +0000 (00:26 +0000)
committerChen-Yu Tsai <wens@csie.org>
Wed, 12 Mar 2025 03:58:11 +0000 (11:58 +0800)
commit8cea339cfb81eb3354b0f27ceb27e2bb107efa6d
tree86052d369d378cc46fc964a98df28fa68b3d0609
parenta36cc6cd0feb7ea656a1a33db0e6347149f50fed
clk: sunxi-ng: add support for the A523/T527 PRCM CCU

The A523/T527 SoCs have clock/reset controls in the PRCM part, like many
previous SoCs. For a change, the whole PRCM is documented in the A523
manual, including the system bus tree, so we can describe all those
clocks correctly based on that. There layout seems to be derived from
the H6 and H616 PRCM CCUs, though there are more clocks, and many clocks
have subtly changed.

Describe all the mod and gate clocks, including the three bus clocks
(R_AHB, R_APB0, and R_APB1).

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20250307002628.10684-15-andre.przywara@arm.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/Kconfig
drivers/clk/sunxi-ng/Makefile
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c [new file with mode: 0644]
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.h [new file with mode: 0644]