summaryrefslogtreecommitdiff
path: root/api/api_platform-powerpc.c
diff options
context:
space:
mode:
authorJulien Stephan <[email protected]>2026-07-15 16:28:57 +0200
committerDavid Lechner <[email protected]>2026-07-29 10:24:37 -0500
commit6d0ba2669994e0a3efa35f444bd93506a9736477 (patch)
treedc3f21a16a840e3e881f62dbfde0915a83f8cdc2 /api/api_platform-powerpc.c
parent02b947b367881233379ad1d3a608b7bb61a4af51 (diff)
clk: mediatek: mt8189: deduplicate clock gate drivers
MT8189 already shares a single U_BOOT_DRIVER across all its clock gate controllers, passing the per-controller gate table through the driver data via a dedicated struct mt8189_gate_clk_data. Now that struct mtk_clk_tree can describe the gates directly, drop that bespoke helper: give each controller its own struct mtk_clk_tree (.gates/.num_gates/.gates_offs) and use the generic mtk_clk_topckgen_ops. The gate offset, previously computed at runtime from the first gate ID, is now encoded statically in each tree. This also stops using mtk_common_clk_gate_init() and struct mtk_cg_priv, which are scheduled for removal. No functional change intended. Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260715-b4-mtk-clk-cleanup-clock-gate-drivers-v2-29-23e907516010@baylibre.com Signed-off-by: David Lechner <[email protected]> (dropped _gates_offs arg from GATE_CLK_TREE)
Diffstat (limited to 'api/api_platform-powerpc.c')
0 files changed, 0 insertions, 0 deletions