diff options
| author | Julien Stephan <[email protected]> | 2026-07-15 16:28:29 +0200 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-07-29 09:22:18 -0500 |
| commit | 4e3d9844f177bc4e32e60724f87ee5b48a6bd131 (patch) | |
| tree | 7a78bc35c0ff908c4a5db7a89c2f39ffd0570208 /scripts/show-gnu-make | |
| parent | 616c3d79f01cf9204e38738857c4647a730dcb3b (diff) | |
clk: mediatek: mt8188: deduplicate clock gate drivers
MT8188 currently declares a separate U_BOOT_DRIVER, probe() function and
compatible table for each clock gate controller, despite all of them
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. All the clock gate controllers can then share a
single U_BOOT_DRIVER, eliminating the duplicated code.
This also stops using mtk_common_clk_gate_init() and struct mtk_cg_priv,
which are scheduled for removal.
No functional change intended.
Suggested-by: David Lechner <[email protected]>
Signed-off-by: Julien Stephan <[email protected]>
Link: https://patch.msgid.link/20260715-b4-mtk-clk-cleanup-clock-gate-drivers-v2-1-23e907516010@baylibre.com
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'scripts/show-gnu-make')
0 files changed, 0 insertions, 0 deletions
