summaryrefslogtreecommitdiff
path: root/api/api_platform.c
diff options
context:
space:
mode:
authorJulien Stephan <[email protected]>2026-07-15 16:28:55 +0200
committerDavid Lechner <[email protected]>2026-07-29 10:10:10 -0500
commit5899b763bad31a1ad973f186416a428359028991 (patch)
tree6409b857fff882e829a898194889b35092fa51dc /api/api_platform.c
parent7a26bf29e26e2d18829435fbd7c7adf8d560468d (diff)
clk: mediatek: mt8512: deduplicate clock gate drivers
MT8512 declares a separate U_BOOT_DRIVER, probe() function and compatible table for the topckgen and infracfg clock gate controllers, despite both sharing the same implementation. Describe the gates directly in each controller's struct mtk_clk_tree, reference the trees from the driver data and use the generic mtk_clk_topckgen_ops. Both controllers share the same DM flags and (absent) bind() callback and are merged into a single U_BOOT_DRIVER. 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-27-23e907516010@baylibre.com Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'api/api_platform.c')
0 files changed, 0 insertions, 0 deletions