mbox series

[GIT,PULL] Allwinner clock changes for 6.6 part 2

Message ID ZNja0W8oQ0PLAc7l@wens.tw (mailing list archive)
State Accepted
Headers show
Series [GIT,PULL] Allwinner clock changes for 6.6 part 2 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-6.6-2

Message

Chen-Yu Tsai Aug. 13, 2023, 1:29 p.m. UTC
Hi,

Please pull another round of Allwinner clk patches for the 6.6 cycle.


Thanks
ChenYu


The following changes since commit 075d9ca5b4e17f84fd1c744a405e69ec743be7f0:

  clk: sunxi-ng: Modify mismatched function name (2023-07-31 00:52:36 +0200)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-6.6-2

for you to fetch changes up to a69f9463397e56666b113eebb2e99956aacf6929:

  clk: sunxi-ng: nkm: Prefer current parent rate (2023-08-09 23:41:44 +0800)

----------------------------------------------------------------
Allwinner clock changes for 6.6 part 2

- Parameter name correction for ccu_nkm_round_rate()
- Implement CLK_SET_RATE_PARENT for NKM clocks, i.e. consider alternative
  parent rates when determining clock rates
- Set CLK_SET_RATE_PARENT for A64 pll-mipi
- Support finding closest (as opposed to closest but not higher) clock
  rate for NM, NKM, mux and div type clocks, as use it for A64
  pll-video0
- Prefer current parent rate if able to generate ideal clock rate for
  NKM clocks

----------------------------------------------------------------
Frank Oltmanns (11):
      clk: sunxi-ng: nkm: Use correct parameter name for parent HW
      clk: sunxi-ng: nkm: consider alternative parent rates when determining rate
      clk: sunxi-ng: a64: allow pll-mipi to set parent's rate
      clk: sunxi-ng: Add feature to find closest rate
      clk: sunxi-ng: Add helper function to find closest rate
      clk: sunxi-ng: nm: Support finding closest rate
      clk: sunxi-ng: nkm: Support finding closest rate
      clk: sunxi-ng: mux: Support finding closest rate
      clk: sunxi-ng: div: Support finding closest rate
      clk: sunxi-ng: a64: select closest rate for pll-video0
      clk: sunxi-ng: nkm: Prefer current parent rate

 drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 41 ++++++++++++--------------
 drivers/clk/sunxi-ng/ccu_common.c     | 12 ++++++++
 drivers/clk/sunxi-ng/ccu_common.h     |  6 ++++
 drivers/clk/sunxi-ng/ccu_div.h        | 30 +++++++++++++++++++
 drivers/clk/sunxi-ng/ccu_mux.c        | 15 ++++++++--
 drivers/clk/sunxi-ng/ccu_mux.h        | 38 +++++++++++++++++-------
 drivers/clk/sunxi-ng/ccu_nkm.c        | 55 ++++++++++++++++++++++++++++++-----
 drivers/clk/sunxi-ng/ccu_nm.c         | 13 ++++-----
 drivers/clk/sunxi-ng/ccu_nm.h         | 48 ++++++++++++++++++++++++++++--
 9 files changed, 204 insertions(+), 54 deletions(-)

Comments

Stephen Boyd Aug. 15, 2023, 12:37 a.m. UTC | #1
Quoting Chen-Yu Tsai (2023-08-13 06:29:53)
> Hi,
> 
> Please pull another round of Allwinner clk patches for the 6.6 cycle.
> 
> 
> Thanks
> ChenYu
> 
> 
> The following changes since commit 075d9ca5b4e17f84fd1c744a405e69ec743be7f0:
> 
>   clk: sunxi-ng: Modify mismatched function name (2023-07-31 00:52:36 +0200)
> 
> are available in the Git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-6.6-2
> 
> for you to fetch changes up to a69f9463397e56666b113eebb2e99956aacf6929:
> 
>   clk: sunxi-ng: nkm: Prefer current parent rate (2023-08-09 23:41:44 +0800)
> 
> ----------------------------------------------------------------

Thanks. Pulled into clk-next