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 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 | 260 ++-- drivers/clk/mediatek/clk-mtk.h | 26 +- include/dt-bindings/clock/mediatek,mt8189-clk.h | 580 ++++++++ 5 files changed, 2487 insertions(+), 128 deletions(-) --- base-commit: f6963fc232603007c661411fb31c57f1a9678a87 change-id: 20260204-mtk-mt8189-clocks-a19de024a48d Best regards, -- David Lechner <[email protected]>

