]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: mt7986: replace infracfg ID with upstream linux
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:40:46 +0000 (10:40 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:14:44 +0000 (16:14 -0600)
commitefc82b035f78b522f44bdc209dff5acc82ffc58f
tree95b705d7080eb99ebd0937cfb0805cbe29a83be0
parent6636017ad3257eeccbc14706db1edd07479ca39b
clk: mediatek: mt7986: replace infracfg 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.

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