[PATCH 0/5] clk: mediatek: mt8188: fix clocks
Julien Stephan
jstephan at baylibre.com
Fri Jan 23 10:41:08 CET 2026
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 <jstephan at baylibre.com>
---
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 | 630 ++++++++++++++++++--------------------
1 file changed, 294 insertions(+), 336 deletions(-)
---
base-commit: 5a7a784c2947586d2e4900bf39ded89df0f403ff
change-id: 20260116-mt8188-fix-clock-7a30fe9e3cc0
Best regards,
--
Julien Stephan <jstephan at baylibre.com>
More information about the U-Boot
mailing list