diff options
| author | Julien Stephan <[email protected]> | 2026-07-15 16:28:43 +0200 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-07-29 10:10:10 -0500 |
| commit | 35d09b4becc80d19dffd1eaa8b9c25af147261d5 (patch) | |
| tree | bfff729566d559c74cd959e0e241e1f94cde1838 /api | |
| parent | 7cac2672755b230f9bf1dfcac4f20033a7fd5a9d (diff) | |
clk: mediatek: mt7988: deduplicate clock gate drivers
MT7988 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. The two sgmiisys controllers, which share the same DM
flags and (absent) bind() callback, are merged into a single U_BOOT_DRIVER;
ethdma and ethwarp keep their own drivers since they bind reset controllers
at different offsets.
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-15-23e907516010@baylibre.com
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions
