summaryrefslogtreecommitdiff
path: root/lib/tiny-printf.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2024-06-28 19:40:52 +0200
committerTom Rini <trini@konsulko.com>2024-08-01 15:32:18 -0600
commita38cf1b2db46643aaa02ce11ed4665f6117fcbf5 (patch)
tree69272115d7df5616b9c9be00791623697f3b7cd4 /lib/tiny-printf.c
parentcd3b487752265bb2547f9fc9d88e68d229802c19 (diff)
clk: mediatek: add support for gate clock to reference topckgen clock
Add support for gate clock get_rate to reference topckgen clock for infracfg-ao implementation. In infracfg-ao implementation topckgen is on second level of parent with infracfg in the middle. To correctly detect this, check the driver of the dev parent and use the second level parent if it's not mtk_clk_topckgen. Due to all the dependency, parent tree must be filled before a gate is used, hence is safe to assume it will be there. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions