Skip to content

Renesas R-Car Gen3 CPG support V8

Magnus Damm linux-clk linux-sh 8 versions – In review

Get series with b4
b4 am 20151001143717.20618.26365.sendpatchset@little-apple

Versions newest first · linked by author and title

  1. v8 Latest5 patches 4 repliesIn review
  2. v75 patches 3 repliesSuperseded
  3. v65 patches 5 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v55 patches10 repliesSuperseded
v45 patches8 repliesSuperseded
v34 patches10 repliesSuperseded
v21 patch7 repliesSuperseded
v11 patch2 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: shmobile: Rework CONFIG_ARCH_SHMOBILE_MULTIdrivers/clk/shmobile/Makefile+10 -120 replies
2/5clk: shmobile: Add Renesas R-Car Gen3 CPG supportDocumentation/devicetree/bindings/clock/renesas,rcar-gen3-cpg-clocks.txt drivers/clk/Makefile drivers/clk/shmobile/Makefile +1 more+276 -00 replies
3/5clk: shmobile: Add Renesas Module Standby and Reset driverdrivers/clk/shmobile/clk-mssr.c include/linux/clk/shmobile.h+394 -03 replies
4/5clk: shmobile: Add r8a7795 MSSR supportDocumentation/devicetree/bindings/clock/renesas,rcar-gen3-cpg-clocks.txt drivers/clk/shmobile/Makefile drivers/clk/shmobile/clk-mssr.c +1 more+28 -30 replies
5/5drivers: sh: Handle PM_GENERIC_DOMAINS_OF=n with r8a7795 MSSRdrivers/sh/pm_runtime.c+4 -10 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchGeert UytterhoevenLaurent Pinchart
1/5A-b A-b
2/5
3/5
4/5
5/5

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

Read the v8 thread

Cover letter [PATCH v8 00/05] Renesas R-Car Gen3 CPG support V8

Renesas R-Car Gen3 CPG support V8

[PATCH v8 01/05] clk: shmobile: Rework CONFIG_ARCH_SHMOBILE_MULTI [PATCH v8 02/05] clk: shmobile: Add Renesas R-Car Gen3 CPG support [PATCH v8 03/05] clk: shmobile: Add Renesas Module Standby and Reset driver [PATCH v8 04/05] clk: shmobile: Add r8a7795 MSSR support
[PATCH v8 05/05] drivers: sh: Handle PM_GENERIC_DOMAINS_OF=n with r8a7795 MSSR

Here's an updated R-Car Gen3 clock support patch collection through a single "easy to use" patch series for drivers/clk and DT documentation bits. This version of the series moves over from MSTP to MSSR so the patches below are replaced with patch 3-5 above:

[PATCH v7 02/05] clk: shmobile: Add r8a7795 SoC to MSTP bindings [PATCH v7 03/05] clk: shmobile: Make MSTP clock-output-names optional [PATCH v7 05/05] clk: shmobile: rcar-gen3: Add CPG/MSTP Clock Domain support

With this V8 series the integration DT bits for MSTP need to be converted into MSSR format, an updated integration series will be posted sometime soon.

Apart from MSSR conversion this series requires "clock-output-names" however patch 2/5 still needs to be updated. Patch 3/5 and/or patch 4/5 also need to be extended to include DT binding information. Apart from lacking DT binding documentation I would say that the DT interface is becoming more and more stable, so soon it should be possible to fix the integration bits.

For more details please see each individual patch.

Thanks to Geert for doing the heavy lifting with the MSSR driver.

---

Developed against 61a7cf8 in renesas-drivers:

Documentation/devicetree/bindings/clock/renesas,rcar-gen3-cpg-clocks.txt | 58 +

 drivers/clk/Makefile                                                     |    1 
 drivers/clk/shmobile/Makefile                                            |   25 
 drivers/clk/shmobile/clk-mssr.c                                          |  393 ++++++++++
 drivers/clk/shmobile/clk-rcar-gen3.c                                     |  244 ++++++
 drivers/sh/pm_runtime.c                                                  |    5 
 include/linux/clk/shmobile.h                                             |    2 
 7 files changed, 712 insertions(+), 16 deletions(-)