clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 May 2016 12:32:56 +0000 (14:32 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Jun 2016 09:58:31 +0000 (11:58 +0200)
commit5b1defde7054e66da5c0f6cba8b35cef29edede0
treec3f4f475b8f73ebeea57b8a334a32f54b56285f5
parent972610fb23b08dd54879102a9d5be695d53b728b
clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code

Extract the code to support parts common to all members of the R-Car
Gen3 SoC family into a separate file, to ease sharing among SoC-specific
drivers.

Note that while the cpg_pll_configs[] arrays and the selection of the
config based on the MODE bits are identical on R-Car H3 and R-Car M3-W,
they are not common, and may be different on other R-Car Gen3 SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clk/renesas/Makefile
drivers/clk/renesas/r8a7795-cpg-mssr.c
drivers/clk/renesas/rcar-gen3-cpg.c [new file with mode: 0644]
drivers/clk/renesas/rcar-gen3-cpg.h [new file with mode: 0644]