This series adds a new clock driver for MediaTek MT8189 and similar SoCs. This one has some unique characteristics compared to other MediaTek clock drivers, so there are a number of preparatory changes first in the series. And, as mentioned in a note on the dt-bindings patch, this is simultaneously being upstreamed to the Linux kernel so it will be a while before we can use the upstream devicetree sources. In the meantime, we add a copy of the dt-bindings header file for the clock IDs.
Signed-off-by: David Lechner <[email protected]> --- Changes in v4: - Fixed some missed refactoring for gate clock parents that caused a bug in later changes building on this. - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - Add more macros in last patch to avoid repeating CLK_PARENT_* so much. - Dropped dependency since it has been merged in the next branch. - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Fixed CONFIG_TARGET_MT8189 in the last patch. - Link to v1: https://lore.kernel.org/r/[email protected] --- Chris Chen (1): clk: mediatek: add clock driver for MT8189 David Lechner (5): clk: mediatek: use correct struct type for infrasys clocks clk: mediatek: refactor parent rate lookup functions clk: mediatek: add mtk_clk_id_is_* helper functions clk: mediatek: add CLK_PARENT_EXT clk: mediatek: add MUX_MIXED_CLR_SET_UPD_FLAGS() macro Irving-CH Lin (1): dt-bindings: clock: Add MediaTek MT8189 clock drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8189.c | 1748 +++++++++++++++++++++++ drivers/clk/mediatek/clk-mtk.c | 273 ++-- drivers/clk/mediatek/clk-mtk.h | 26 +- include/dt-bindings/clock/mediatek,mt8189-clk.h | 580 ++++++++ 5 files changed, 2488 insertions(+), 140 deletions(-) --- base-commit: c0ca147ac6228949a6d6497531c9f2f4a0dc6c67 change-id: 20260204-mtk-mt8189-clocks-a19de024a48d Best regards, -- David Lechner <[email protected]>

