]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: mediatek: mt8195: use ext_clock_rates
authorDavid Lechner <dlechner@baylibre.com>
Mon, 9 Mar 2026 22:51:11 +0000 (17:51 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Tue, 24 Mar 2026 14:47:15 +0000 (09:47 -0500)
commit6bbfa8fba553df9bccb526ee47ccb8ad010bbbcf
tree29a423db2853c0dc16b3ed86b352eac1fe0ab9d5
parentf7d48558cf1b952236ed3e423d8cc25e498a40f2
clk: mediatek: mt8195: use ext_clock_rates

Convert the mt8195 clock driver to use ext_clock_rates.

Now that we have the ext_clock_rates feature and also mux clock parents
have been converted to struct mtk_parent, we can remove the hack of
adding "missing" topckgen clocks. Instead we can use the proper parents.

The topckgen ID map is still needed though because the upstream
dt-bindings didn't use the conventional number ordering by clock type
for these.

Reviewed-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20260309-clk-mtk-mt8188-drop-extra-top-clocks-v1-2-6ee4743a8465@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/clk/mediatek/clk-mt8195.c