]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: add clock driver support for MediaTek MT8365 SoC
authorJulien Masson <jmasson@baylibre.com>
Mon, 4 Dec 2023 10:48:52 +0000 (11:48 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2023 15:09:06 +0000 (10:09 -0500)
commitac80c6a647229ba5058b5d979ca131d3b1a02bdd
tree6ee5608c6debd22f60cb8bbc7d9a77389d29f93b
parentaf3fa853fab4ff1c952eb61083d35fdf3a55db56
clk: mediatek: add clock driver support for MediaTek MT8365 SoC

This patch adds clock driver support for MediaTek MT8365 SoC.
The changes are based on the Linux source code tag v6.7-rc2.

clk-mt8365.c has been written based on these kernel files:
- clk-mt8365.c (a96cbb146a9736f501fe66ebda6a9018735e5e8a)
- clk-mt8365-apmixedsys.c (65c9ad77cbc0eed78db94d80041aba675cfbdfa9)
And adapted following the clk attributes supported by U-Boot.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/clk/mediatek/Makefile
drivers/clk/mediatek/clk-mt8365.c [new file with mode: 0644]