]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: mt7988: replace clock ID with upstream linux
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:33:00 +0000 (10:33 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:14:09 +0000 (16:14 -0600)
commit4f100a0c704a25543f42b13fdc7fd9230da9806f
treedb520587219f1eefd4af3314c8c88f3c0f4ea456
parent6e54f037dfdf37cf4351a780063f9e582f70b4fa
clk: mediatek: mt7988: replace clock ID with upstream linux

Replace infracfg clk ID with upstream linux version.

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.

Drop any comment that reference the clock ID as we now have a 1:1 match
with upstream kernel linux.

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