]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: provide common clk init function for infrasys
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 28 Jun 2024 17:40:53 +0000 (19:40 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 1 Aug 2024 21:32:18 +0000 (15:32 -0600)
commit04ab229fdcdd675c23e21ab2dbada8d221c7dcde
tree372a6b9133d893dc16d5bbe97bab72f1fff578a7
parenta38cf1b2db46643aaa02ce11ed4665f6117fcbf5
clk: mediatek: provide common clk init function for infrasys

Provide common clk init function for infrasys that defaults to topckgen
driver if clock-parent is not defined. This is the case for upstream
DTSI that doesn't provide this entry.

This is needed for infracfg driver that will make use of the unified
gates + muxes implementation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/mediatek/clk-mtk.c
drivers/clk/mediatek/clk-mtk.h