On Wed, 23 Sep 2026 15:22:12 -0500, David Lechner wrote:
> clk: mediatek: fix some clock definitions
>
> While reviewing some adjacent code, we noticed that we had a few
> incorrect definitions in a couple of the mediatek clock trees. These
> trees consist of strictly ordered arrays where the index must match the
> ID exactly for lookup to work. So if anything in U-Boot tried to use
> one of these clocks, it would end up with the wrong clock or crash.
>
> [...]
Applied to mediatek-for-main, thanks!
Fixed the nit while applying.
[1/2] clk: mediatek: mt8183: fix infracfg gate lookup
commit: 3f0e39674ca8aed945b74f7f11d94f6ab6a45fb0
[2/2] clk: mediatek: mt8518: fix top gate lookup
commit: 8dc45d522ad727bec150f62a9966fa03ee3291c0
Best regards,
--
David Lechner <[email protected]>