I recently submitted the clock driver for MT8188. I naively submitted a driver that was ported from the kernel driver, and mostly work to boot a kernel.
Recently David Lechner, added support for the clk dump command for Mediatek clock drivers, so I used it to check the MT8188 and found several issues fixed on this series: - removed topckgen_cg, gates are now part of topckgen - fixed several parents clocks - added missing fixed clocks While at it, I also refactored a bit the driver to improve readability, and future additions to it. Cheers Julien Signed-off-by: Julien Stephan <[email protected]> --- Changes in v2: - Add the CLK_TOP_FULL_NR_CLK macro and fix initialization of mt8188_id_top_offs_map - Rebased on master - Link to v1: https://lore.kernel.org/r/[email protected] --- Julien Stephan (5): clk: mediatek: mt8188: remove separate topckgen-cg driver clk: mediatek: mt8188: fix circular clock dependency clk: mediatek: mt8188: add missing fixed clock clk: mediatek: mt8188: fix some clock parents clk: mediatek: mt8188: refactor driver to improve readability drivers/clk/mediatek/clk-mt8188.c | 631 ++++++++++++++++++-------------------- 1 file changed, 295 insertions(+), 336 deletions(-) --- base-commit: cbc75552aec49fa190f3ac1ad8e198ac3a2e4ef2 change-id: 20260116-mt8188-fix-clock-7a30fe9e3cc0 Best regards, -- Julien Stephan <[email protected]>

