mbox series

[00/14] clk: mediatek: mt7981: clk migration for OF_UPSTREAM

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

Message

Christian Marangi Aug. 2, 2024, 1:53 p.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 (14):
  clk: mediatek: mt7981: add missing clock for infra_ipcie_pipe
  clk: mediatek: mt7981: fix typo for infra_i2c0_ck
  clk: mediatek: mt7981: fix wrong mux width for pwm2 and pwm1 clock
  clk: mediatek: mt7981: fix wrong clock definition for spi2
  clk: mediatek: mt7981: add missing clock for spi1 node
  clk: mediatek: mt7981: swap wrong clock-names for spi nodes
  clk: mediatek: mt7981: fix wrong parent for TOP_FAUD clock
  clk: mediatek: mt7981: fix wrong parent list for INFRA_PWM1_SEL mux
  clk: mediatek: mt7981: implement sgmii0/1 clock
  clk: mediatek: mt7981: drop 1/1 spurious factor
  clk: mediatek: mt7981: replace infracfg ID with upstream linux
  clk: mediatek: mt7981: fix support for pwm3 clock
  clk: mediatek: mt7981: convert to unified infracfg gates + muxes
  clk: mediatek: mt7981: rename CK to CLK

 arch/arm/dts/mt7981.dtsi               | 124 ++---
 drivers/clk/mediatek/clk-mt7981.c      | 735 +++++++++++++------------
 include/dt-bindings/clock/mt7981-clk.h | 429 +++++++--------
 3 files changed, 642 insertions(+), 646 deletions(-)

Comments

Tom Rini Aug. 20, 2024, 12:29 a.m. UTC | #1
On Fri, 02 Aug 2024 15:53:01 +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 (14):
>   clk: mediatek: mt7981: add missing clock for infra_ipcie_pipe
>   clk: mediatek: mt7981: fix typo for infra_i2c0_ck
>   clk: mediatek: mt7981: fix wrong mux width for pwm2 and pwm1 clock
>   clk: mediatek: mt7981: fix wrong clock definition for spi2
>   clk: mediatek: mt7981: add missing clock for spi1 node
>   clk: mediatek: mt7981: swap wrong clock-names for spi nodes
>   clk: mediatek: mt7981: fix wrong parent for TOP_FAUD clock
>   clk: mediatek: mt7981: fix wrong parent list for INFRA_PWM1_SEL mux
>   clk: mediatek: mt7981: implement sgmii0/1 clock
>   clk: mediatek: mt7981: drop 1/1 spurious factor
>   clk: mediatek: mt7981: replace infracfg ID with upstream linux
>   clk: mediatek: mt7981: fix support for pwm3 clock
>   clk: mediatek: mt7981: convert to unified infracfg gates + muxes
>   clk: mediatek: mt7981: rename CK to CLK
> 
> [...]

Applied to u-boot/next, thanks!