]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: mt7981: replace infracfg ID with upstream linux
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 2 Aug 2024 13:53:12 +0000 (15:53 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:13:13 +0000 (16:13 -0600)
commit2967f2118216eed2b9120b3995f13bfcf0d4aaf5
tree7a0700e54bc155c97f39104cfebba120e2a8586e
parent78487cd093f7ac96ec89f99e2eb5b11e815b7a92
clk: mediatek: mt7981: replace infracfg ID with upstream linux

Replace infracfg clk ID with upstream linux version.

Add some missing clk for PWM3 and for PCIe. The same format is used here
with the factor first, then mux and then gates.

To correctly reference the gates in clk_gate function, define the
gates_offs value in clk_tree now that they are at an offset from mux and
factor.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/mediatek/clk-mt7981.c
include/dt-bindings/clock/mt7981-clk.h