mbox series

[00/15] clk: mediatek: mt7986: clk migration for OF_UPSTREAM

Message ID 20240803084050.449-1-ansuelsmth@gmail.com
Headers show
Series clk: mediatek: mt7986: clk migration for OF_UPSTREAM | expand

Message

Christian Marangi Aug. 3, 2024, 8:40 a.m. UTC
These are all the required patches to migrate clk and correctly support
OF_UPSTREAM. This will align the clk index to upstream to support the same
clk implementation with downstream and upstream DTS.

Christian Marangi (15):
  clk: mediatek: mt7986: fix wrong shift for PCIe clocks
  clk: mediatek: mt7986: rename CB_CKSQ_40M to TOP_XTAL
  clk: mediatek: mt7986: rename 66M_MCK to SYSAXI_D2
  clk: mediatek: mt7986: fix wrong parent for INFRA_ADC_26M_CK
  clk: mediatek: mt7986: drop 1/1 infracfg spurious factor
  clk: mediatek: mt7986: add missing entry for IPCIE_PIPE_CK infra gate
  clk: mediatek: mt7986: fix typo for infra_i2c0_ck
  clk: mediatek: mt7986: rename TOPCKGEN factor clock to upstream naming
  clk: mediatek: mt7986: reorder TOPCKGEN factor ID
  clk: mediatek: mt7986: drop 1/1 spurious factor for topckgen
  clk: mediatek: mt7986: comment out CK_TOP_A_TUNER as not used
  clk: mediatek: mt7986: move INFRA_TRNG_CK to the bottom of the list
  clk: mediatek: mt7986: replace infracfg ID with upstream linux
  clk: mediatek: mt7986: convert to unified infracfg gates + muxes
  clk: mediatek: mt7986: rename CK to CLK

 arch/arm/dts/mt7986.dtsi               |  95 ++--
 drivers/clk/mediatek/clk-mt7986.c      | 658 ++++++++++++-------------
 include/dt-bindings/clock/mt7986-clk.h | 359 ++++++--------
 3 files changed, 511 insertions(+), 601 deletions(-)

Comments

Tom Rini Aug. 20, 2024, 12:29 a.m. UTC | #1
On Sat, 03 Aug 2024 10:40:33 +0200, Christian Marangi wrote:

> These are all the required patches to migrate clk and correctly support
> OF_UPSTREAM. This will align the clk index to upstream to support the same
> clk implementation with downstream and upstream DTS.
> 
> Christian Marangi (15):
>   clk: mediatek: mt7986: fix wrong shift for PCIe clocks
>   clk: mediatek: mt7986: rename CB_CKSQ_40M to TOP_XTAL
>   clk: mediatek: mt7986: rename 66M_MCK to SYSAXI_D2
>   clk: mediatek: mt7986: fix wrong parent for INFRA_ADC_26M_CK
>   clk: mediatek: mt7986: drop 1/1 infracfg spurious factor
>   clk: mediatek: mt7986: add missing entry for IPCIE_PIPE_CK infra gate
>   clk: mediatek: mt7986: fix typo for infra_i2c0_ck
>   clk: mediatek: mt7986: rename TOPCKGEN factor clock to upstream naming
>   clk: mediatek: mt7986: reorder TOPCKGEN factor ID
>   clk: mediatek: mt7986: drop 1/1 spurious factor for topckgen
>   clk: mediatek: mt7986: comment out CK_TOP_A_TUNER as not used
>   clk: mediatek: mt7986: move INFRA_TRNG_CK to the bottom of the list
>   clk: mediatek: mt7986: replace infracfg ID with upstream linux
>   clk: mediatek: mt7986: convert to unified infracfg gates + muxes
>   clk: mediatek: mt7986: rename CK to CLK
> 
> [...]

Applied to u-boot/next, thanks!