linux/drivers/clk/renesas
Geert Uytterhoeven 5573d19412 clk: renesas: r8a7795: Add support for R-Car H3 ES2.0
The Clock Pulse Generator / Module Standby and Software Reset module in
R-Car H3 ES2.0 differs from ES1.x in the following areas:
  - More core clocks (S0D2, S0D3, S0D6, S0D8, S0D12),
  - Different parent clocks for AUDMAC, EtherAVB, FCP, FDP, IMR,
    SYS-DMAC, VIN, VSPB, VSPI,
  - Removal of modules CSI21, FCPCI, FCPF2, FCPVD3, FCPVI2, FDP1-2,
    USB3-IF1, VSPD3, VSPI2,
  - Addition of modules EHCI3, HS-USB-IF3, USB-DMAC3-0, USB-DMAC3-1.

The goal is twofold:
  1. Support both the ES1.x and ES2.0 SoC revisions in a single binary
     for now,
  2. Make it clear which code supports ES1.x, so it can easily be
     identified and removed later, when production SoCs are deemed
     ubiquitous.

This is achieved by:
  - Updating the clock tables for the latest revision (ES2.0), but not
    removing clocks that only exist on earlier revisions (ES1.x),
  - Detecting the SoC revision at runtime using the new soc_device_match()
    API, and fixing up the clocks tables to match the actual SoC
    revision, by:
      - NULLifying core and module clocks of modules that do not exist,
      - Reparenting module clocks that have a different parent on ES1.x.

Based on R-Car Gen3 Hardware User's Manual rev. 0.53E.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2017-03-30 13:25:50 +02:00
..
clk-div6.c
clk-div6.h clk: renesas: div6: use RENESAS for #define 2016-03-15 18:13:02 -07:00
clk-emev2.c
clk-mstp.c clk: renesas: mstp: ensure register writes complete 2017-02-16 10:36:05 -08:00
clk-r8a73a4.c
clk-r8a7740.c
clk-r8a7778.c clk: renesas: r8a7778: Remove obsolete r8a7778_clocks_init() 2016-11-02 20:44:14 +01:00
clk-r8a7779.c clk: renesas: r8a7779: Remove obsolete r8a7779_clocks_init() 2016-11-02 20:44:17 +01:00
clk-rcar-gen2.c clk: renesas: rcar-gen2: Remove obsolete rcar_gen2_clocks_init() 2016-11-02 20:44:20 +01:00
clk-rz.c clk: renesas: rz: Select EXTAL vs USB clock 2016-09-05 14:16:25 +02:00
clk-sh73a0.c
Kconfig clk: renesas: cpg-mssr: Add R8A7745 support 2016-11-10 15:29:30 +01:00
Makefile clk: renesas: cpg-mssr: Add R8A7745 support 2016-11-10 15:29:30 +01:00
r8a7743-cpg-mssr.c clk: renesas: cpg-mssr: Add R8A7743 support 2016-11-10 15:29:28 +01:00
r8a7745-cpg-mssr.c clk: renesas: cpg-mssr: Add R8A7745 support 2016-11-10 15:29:30 +01:00
r8a7795-cpg-mssr.c clk: renesas: r8a7795: Add support for R-Car H3 ES2.0 2017-03-30 13:25:50 +02:00
r8a7796-cpg-mssr.c clk: renesas: rcar-gen3-cpg: Pass mode pins to rcar_gen3_cpg_init() 2017-03-21 11:12:23 +01:00
rcar-gen2-cpg.c clk: renesas: cpg-mssr: Add common R-Car Gen2 support 2016-11-10 15:29:25 +01:00
rcar-gen2-cpg.h clk: renesas: cpg-mssr: Add common R-Car Gen2 support 2016-11-10 15:29:25 +01:00
rcar-gen3-cpg.c clk: renesas: rcar-gen3: Add workaround for PLL0/2/4 errata on H3 ES1.0 2017-03-21 11:12:23 +01:00
rcar-gen3-cpg.h clk: renesas: rcar-gen3-cpg: Pass mode pins to rcar_gen3_cpg_init() 2017-03-21 11:12:23 +01:00
renesas-cpg-mssr.c clk: renesas: cpg-mssr: Add support for fixing up clock tables 2017-03-30 13:25:24 +02:00
renesas-cpg-mssr.h clk: renesas: cpg-mssr: Add support for fixing up clock tables 2017-03-30 13:25:24 +02:00