Skip to content

clk: at91: add support for parent_data and

[email protected] linux-arm-kernel linux-clk lkml llvm oe-kbuild-all 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest31 patches 30 repliesIn review
  2. v431 patches 28 repliesSuperseded
  3. v332 patches 29 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v232 patches4 repliesSuperseded

Changes in v5 from the cover letter

- Update commit messages to make them more clear.
- Correct formatting issues.
- Remove unnecessary parent_data parameters.
- Remove the incorrect change to the xtal naming.
- Keep the check for the different naming of slow clock.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31clk: at91: pmc: add macros for clk_parent_datadrivers/clk/at91/pmc.h+8 -01 reply
2/31clk: at91: pmc: Move macro to header filedrivers/clk/at91/pmc.h drivers/clk/at91/sama7d65.c drivers/clk/at91/sama7g5.c+3 -61 reply
3/31clk: at91: sam9x75: switch to parent_hw and parent_datadrivers/clk/at91/sam9x7.c+174 -1311 reply
4/31clk: at91: clk-sam9x60-pll: use clk_parent_datadrivers/clk/at91/clk-sam9x60-pll.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x60.c +3 more+59 -411 reply
5/31clk: at91: clk-peripheral: switch to clk_parent_datadrivers/clk/at91/clk-peripheral.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +2 more+13 -131 reply
6/31clk: at91: clk-main: switch to clk parent datadrivers/clk/at91/clk-main.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +2 more+29 -291 reply
7/31clk: at91: clk-utmi: use clk_parent_datadrivers/clk/at91/clk-utmi.c drivers/clk/at91/pmc.h drivers/clk/at91/sama7g5.c+22 -171 reply
8/31clk: at91: clk-master: use clk_parent_datadrivers/clk/at91/clk-master.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +2 more+36 -421 reply
9/31clk: at91: clk-programmable: use clk_parent_datadrivers/clk/at91/clk-programmable.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +2 more+33 -331 reply
10/31clk: at91: clk-generated: use clk_parent_datadrivers/clk/at91/clk-generated.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +2 more+58 -611 reply
11/31clk: at91: clk-usb: add support for clk_parent_datadrivers/clk/at91/at91rm9200.c drivers/clk/at91/at91sam9260.c drivers/clk/at91/at91sam9g45.c +11 more+72 -491 reply
12/31clk: at91: clk-system: use clk_parent_datadrivers/clk/at91/clk-system.c drivers/clk/at91/pmc.h drivers/clk/at91/sam9x7.c +1 more+7 -71 reply
13/31clk: at91: sama7d65: switch system clocks to parent_hw and parent_datadrivers/clk/at91/sama7d65.c+23 -131 reply
14/31clk: at91: clk-pll: add support for parent_hwdrivers/clk/at91/at91rm9200.c drivers/clk/at91/at91sam9260.c drivers/clk/at91/at91sam9g45.c +9 more+20 -171 reply
15/31clk: at91: clk-audio-pll: add support for parent_hwdrivers/clk/at91/clk-audio-pll.c drivers/clk/at91/dt-compat.c drivers/clk/at91/pmc.h +1 more+29 -171 reply
16/31clk: at91: clk-plldiv: add support for parent_datadrivers/clk/at91/at91sam9g45.c drivers/clk/at91/at91sam9n12.c drivers/clk/at91/at91sam9x5.c +6 more+15 -121 reply
17/31clk: at91: clk-h32mx: add support for parent_datadrivers/clk/at91/clk-h32mx.c drivers/clk/at91/dt-compat.c drivers/clk/at91/pmc.h +2 more+11 -81 reply
18/31clk: at91: clk-i2s-mux: add support for parent_datadrivers/clk/at91/clk-i2s-mux.c drivers/clk/at91/dt-compat.c drivers/clk/at91/pmc.h +1 more+9 -41 reply
19/31clk: at91: clk-smd: add support for clk_parent_datadrivers/clk/at91/at91sam9x5.c drivers/clk/at91/clk-smd.c drivers/clk/at91/dt-compat.c +3 more+13 -81 reply
20/31clk: at91: clk-slow: add support for parent_datadrivers/clk/at91/at91sam9260.c drivers/clk/at91/clk-slow.c drivers/clk/at91/dt-compat.c +1 more+9 -41 reply
21/31clk: at91: dt-compat: switch to parent_hw and parent_datadrivers/clk/at91/dt-compat.c+56 -241 reply
22/31clk: at91: sam9x60: switch to parent_hw and parent_datadrivers/clk/at91/sam9x60.c+51 -421 reply
23/31clk: at91: sama5d2: switch to parent_hw and parent_datadrivers/clk/at91/sama5d2.c+83 -701 reply
24/31clk: at91: sama5d3: switch to parent_data and parent_hwdrivers/clk/at91/sama5d3.c+58 -461 reply
25/31clk: at91: sama5d4: switch to parent_data and parent_hwdrivers/clk/at91/sama5d4.c+61 -510 replies
26/31clk: at91: at91sam9x5: switch to parent_data and parent_hwdrivers/clk/at91/at91sam9x5.c+59 -471 reply
27/31clk: at91: at91rm9200: switch to parent_hw and parent_datadrivers/clk/at91/at91rm9200.c+46 -331 reply
28/31clk: at91: at91sam9260: switch to parent_hw and parent_datadrivers/clk/at91/at91sam9260.c+68 -511 reply
29/31clk: at91: at91sam9g45: switch to parent_data and parent_hwdrivers/clk/at91/at91sam9g45.c+41 -321 reply
30/31clk: at91: at91sam9n12: switch to parent_hw and parent_datadrivers/clk/at91/at91sam9n12.c+51 -391 reply
31/31clk: at91: at91sam9rl: switch to clk_parent_datadrivers/clk/at91/at91sam9rl.c+26 -231 reply

Reviews trailers per patch

24 of 31 patches have a Reviewed-by or Acked-by.

PatchClaudiu Beznea
1/31R-b
2/31R-b
3/31
4/31
5/31R-b
6/31R-b
7/31R-b
8/31
9/31R-b
10/31R-b
11/31
12/31R-b
13/31R-b
14/31R-b
15/31R-b
16/31R-b
17/31R-b
18/31R-b
19/31R-b
20/31R-b
21/31R-b
22/31R-b
23/31R-b
24/31R-b
25/31
26/31R-b
27/31R-b
28/31R-b
29/31
30/31
31/31R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/31] clk: at91: add support for parent_data and

From: Ryan Wanner <[email protected]>

This series adds support for parent data and parent _hw on the at91 clock drivers. This also updates all the SoC specific clock drivers to use this format as well.

This is a continuation of the V1 of this series here [1].

This has been tested on the SAMA5* SoCs, the sam9x* SoCs, and the SAMA7* SoCs.

Changes v1 -> V2:
- Remove all the small sama7g54 SoC driver changes and put them in their own patch.
- Add the SAMA7D65 and the SAM9X75 to this update.
- Add a patch to move all common used macros into the pmc.h file.
- Update changes from v6.6 to v6.16.
- Remove patches that where style fixes and include those in the update.

Changes v2 -> v3:
- Adjust each patch so they are fully atomic.
- Add a patch to have the SAMA7D65 systemclocks use parent_data and parent_hw.
- Add a formatting cleanup patch for the SAM9X75.
- Adjust commit messages that no longer show invalid information.

Changes v3 -> v4:
- Adjusted the AT91_CLK_PD macros to not use the index and use the name and HW.
- Adjust the commit message for the sam9x7 to descibe the changes better.
- Remove the usage of clock indexes and use of_clk_get_parent_name().
- Adjust commit messages to better describe the changes.

Changes v4 -> v5:
- Update commit messages to make them more clear.
- Correct formatting issues.
- Remove unnecessary parent_data parameters.
- Remove the incorrect change to the xtal naming.
- Keep the check for the different naming of slow clock.

Claudiu Beznea (28):
clk: at91: pmc: add macros for clk_parent_data
clk: at91: clk-sam9x60-pll: use clk_parent_data
clk: at91: clk-peripheral: switch to clk_parent_data
clk: at91: clk-main: switch to clk parent data
clk: at91: clk-utmi: use clk_parent_data
clk: at91: clk-master: use clk_parent_data
clk: at91: clk-programmable: use clk_parent_data
clk: at91: clk-generated: use clk_parent_data
clk: at91: clk-usb: add support for clk_parent_data
clk: at91: clk-system: use clk_parent_data
clk: at91: clk-pll: add support for parent_hw
clk: at91: clk-audio-pll: add support for parent_hw
clk: at91: clk-plldiv: add support for parent_data
clk: at91: clk-h32mx: add support for parent_data
clk: at91: clk-i2s-mux: add support for parent_data
clk: at91: clk-smd: add support for clk_parent_data
clk: at91: clk-slow: add support for parent_data
clk: at91: dt-compat: switch to parent_hw and parent_data
clk: at91: sam9x60: switch to parent_hw and parent_data
clk: at91: sama5d2: switch to parent_hw and parent_data
clk: at91: sama5d3: switch to parent_data and parent_hw
clk: at91: sama5d4: switch to parent_data and parent_hw
clk: at91: at91sam9x5: switch to parent_data and parent_hw
clk: at91: at91rm9200: switch to parent_hw and parent_data
clk: at91: at91sam9260: switch to parent_hw and parent_data
clk: at91: at91sam9g45: switch to parent_data and parent_hw
clk: at91: at91sam9n12: switch to parent_hw and parent_data
clk: at91: at91sam9rl: switch to clk_parent_data

Ryan Wanner (3):
clk: at91: pmc: Move macro to header file
clk: at91: sam9x75: switch to parent_hw and parent_data
clk: at91: sama7d65: switch system clocks to parent_hw and parent_data

 drivers/clk/at91/at91rm9200.c       |  79 ++++---
 drivers/clk/at91/at91sam9260.c      | 119 +++++-----
 drivers/clk/at91/at91sam9g45.c      |  73 ++++---
 drivers/clk/at91/at91sam9n12.c      |  90 ++++----
 drivers/clk/at91/at91sam9rl.c       |  49 +++--
 drivers/clk/at91/at91sam9x5.c       | 106 +++++----
 drivers/clk/at91/clk-audio-pll.c    |  28 ++-
 drivers/clk/at91/clk-generated.c    |   8 +-
 drivers/clk/at91/clk-h32mx.c        |  11 +-
 drivers/clk/at91/clk-i2s-mux.c      |   6 +-
 drivers/clk/at91/clk-main.c         |  16 +-
 drivers/clk/at91/clk-master.c       |  24 +--
 drivers/clk/at91/clk-peripheral.c   |  16 +-
 drivers/clk/at91/clk-pll.c          |   9 +-
 drivers/clk/at91/clk-plldiv.c       |  11 +-
 drivers/clk/at91/clk-programmable.c |   8 +-
 drivers/clk/at91/clk-sam9x60-pll.c  |  14 +-
 drivers/clk/at91/clk-slow.c         |   8 +-
 drivers/clk/at91/clk-smd.c          |  10 +-
 drivers/clk/at91/clk-system.c       |   8 +-
 drivers/clk/at91/clk-usb.c          |  41 ++--
 drivers/clk/at91/clk-utmi.c         |  16 +-
 drivers/clk/at91/dt-compat.c        |  80 ++++---
 drivers/clk/at91/pmc.h              |  68 +++---
 drivers/clk/at91/sam9x60.c          | 101 +++++----
 drivers/clk/at91/sam9x7.c           | 323 ++++++++++++++++------------
 drivers/clk/at91/sama5d2.c          | 153 +++++++------
 drivers/clk/at91/sama5d3.c          | 104 +++++----
 drivers/clk/at91/sama5d4.c          | 112 +++++-----
 drivers/clk/at91/sama7d65.c         | 155 +++++++------
 drivers/clk/at91/sama7g5.c          | 111 +++++-----
 31 files changed, 1115 insertions(+), 842 deletions(-)
Signature · 1 line
2.43.0