mbox series

[00/13] clk: mediatek: mt7988: clk migration for OF_UPSTREAM

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

Message

Christian Marangi Aug. 3, 2024, 8:32 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 (13):
  clk: mediatek: mt7988: rename CB_CKSQ_40M to TOP_XTAL
  clk: mediatek: mt7988: rename TOP_DA_SELM_XTAL_SEL to TOP_DA_SEL
  clk: mediatek: mt7988: rename TOP_CK_NPU_SEL_CM_TOPS_SEL to
    TOP_NPU_SEL
  clk: mediatek: mt7988: move INFRA_PCIE_PERI_26M_CK_Px clock at top
  clk: mediatek: mt7988: fix wrong parent for INFRA_PCIE_PERI_26M_CK_P2
  clk: mediatek: mt7988: drop 1/1 infracfg spurious factor
  clk: mediatek: mt7988: rename TOPCKGEN factor clock to upstream naming
  clk: mediatek: mt7988: reorder TOPCKGEN factor ID
  clk: mediatek: mt7988: drop 1/1 spurious factor for topckgen
  clk: mediatek: mt7988: comment out infracfg clk not defined
  clk: mediatek: mt7988: replace clock ID with upstream linux
  clk: mediatek: mt7988: convert to unified infracfg gates + muxes
  clk: mediatek: mt7988: rename CK to CLK

 arch/arm/dts/mt7988.dtsi               |   93 +-
 drivers/clk/mediatek/clk-mt7988.c      | 1085 +++++++++++-------------
 include/dt-bindings/clock/mt7988-clk.h |  545 +++++-------
 3 files changed, 787 insertions(+), 936 deletions(-)

Comments

Tom Rini Aug. 20, 2024, 12:29 a.m. UTC | #1
On Sat, 03 Aug 2024 10:32:49 +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 (13):
>   clk: mediatek: mt7988: rename CB_CKSQ_40M to TOP_XTAL
>   clk: mediatek: mt7988: rename TOP_DA_SELM_XTAL_SEL to TOP_DA_SEL
>   clk: mediatek: mt7988: rename TOP_CK_NPU_SEL_CM_TOPS_SEL to
>     TOP_NPU_SEL
>   clk: mediatek: mt7988: move INFRA_PCIE_PERI_26M_CK_Px clock at top
>   clk: mediatek: mt7988: fix wrong parent for INFRA_PCIE_PERI_26M_CK_P2
>   clk: mediatek: mt7988: drop 1/1 infracfg spurious factor
>   clk: mediatek: mt7988: rename TOPCKGEN factor clock to upstream naming
>   clk: mediatek: mt7988: reorder TOPCKGEN factor ID
>   clk: mediatek: mt7988: drop 1/1 spurious factor for topckgen
>   clk: mediatek: mt7988: comment out infracfg clk not defined
>   clk: mediatek: mt7988: replace clock ID with upstream linux
>   clk: mediatek: mt7988: convert to unified infracfg gates + muxes
>   clk: mediatek: mt7988: rename CK to CLK
> 
> [...]

Applied to u-boot/next, thanks!