[PATCH 0/7] clk: mediatek: new mt8189 driver
David Lechner
dlechner at baylibre.com
Thu Feb 5 22:12:35 CET 2026
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.
This series has been marked as depending on [1] to get the GATE_FLAGS()
macro and to avoid merge conflict with a Makefile.
[1]: https://lore.kernel.org/u-boot/20260202-add-mt8195-clock-support-v1-0-5d03495246b9@baylibre.com/
Signed-off-by: David Lechner <dlechner at baylibre.com>
---
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 | 1738 +++++++++++++++++++++++
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, 2477 insertions(+), 128 deletions(-)
---
base-commit: b5213bbfdcb1812be510427857827ee8becb9f8f
change-id: 20260204-mtk-mt8189-clocks-a19de024a48d
prerequisite-message-id: <20260202-add-mt8195-clock-support-v1-0-5d03495246b9 at baylibre.com>
prerequisite-patch-id: 5dbe4461fa3456f3c7d80a7fa5a60d52bc719f65
prerequisite-patch-id: fac65a0526e9c15e8a4b3f81d85e61d1947dfe16
prerequisite-patch-id: 0d12fae50ce6da8dc7b0d978e4640431038d5904
Best regards,
--
David Lechner <dlechner at baylibre.com>
More information about the U-Boot
mailing list