From: Tom Rini Date: Thu, 1 Aug 2024 21:32:54 +0000 (-0600) Subject: Merge patch series "clk: mediatek: add OPs to support OF_UPSTREAM" X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6c243dd5e538e490f1eed49280d24e9062a1041c;p=u-boot.git Merge patch series "clk: mediatek: add OPs to support OF_UPSTREAM" Christian Marangi says: This series doesn't currently change anything and it does add all the additional OPs to make support of OF_UPSTREAM. While converting the mt7681/7686/7688/7623/7622 it was notice lots of discrepancy between the downstream dtsi and the upstream one and the clock ID between downstream clock ID and upstream clock ID. Upstream reference clock by names and clock are handled by the CCF (Common Clock Framework). The same can't be used here as we would quickly reach the max space allocated before relocation. The current mediatek clock driver reference all the parents and clocks with offset from the clk ID related to the different tables. Discrepancy between clock ID and the order in the clocks table cause one clock referenced for another or even crash for trying to access a clock at an offset that doesn't exist. To handle this and permit use of OF_UPSTREAM, various measure and changes are done to the mediatek clock driver to support it. This series have all the generic clock changes. Once this is merged, series for each SoC will came that will just change files in their dedicated clock driver. This is to prevent massive patch and to permit to split series, one for each SoC. As said at the start, these changes doesn't cause regression and are just expansion to the current API. Current behaviour is saved in every possible way (aside from the first 2 patch that fixes latent bugs) --- 6c243dd5e538e490f1eed49280d24e9062a1041c