]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: sunxi-ng: ccu: add Display Engine 3.3 (DE33) support
authorRyan Walklin <ryan@testtoast.com>
Sun, 11 May 2025 10:31:17 +0000 (22:31 +1200)
committerChen-Yu Tsai <wens@csie.org>
Mon, 12 May 2025 15:55:06 +0000 (23:55 +0800)
commitbe0e9a3727872783bad0752dc82e0857f4776049
treeea5d92ba59ec4f62aeb9f136c58c8984cceb2406
parentab1a94b504b6f19c294786b5920574fb374fb5cc
clk: sunxi-ng: ccu: add Display Engine 3.3 (DE33) support

The DE33 is a newer version of the Allwinner Display Engine IP block,
found in the H616, H618, H700 and T507 SoCs. DE2 and DE3 are already
supported by the mainline driver.

The DE33 in the H616 has mixer0 and writeback units. The clocks
and resets required are identical to the H3 and H5 respectively, so use
those existing structs for the H616 description.

There are two additional 32-bit registers (at offsets 0x24 and 0x28)
which require clearing and setting respectively to bring up the
hardware. The function of these registers is currently unknown, and the
values are taken from the out-of-tree driver.

Add the required clock description struct and compatible string to the
DE2 driver.

Signed-off-by: Ryan Walklin <ryan@testtoast.com>
Link: https://patch.msgid.link/20250511104042.24249-9-ryan@testtoast.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun8i-de2.c