clk: renesas: cpg-mssr: Add R7S9210 support
authorChris Brandt <chris.brandt@renesas.com>
Fri, 7 Sep 2018 16:58:49 +0000 (11:58 -0500)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 11 Sep 2018 10:01:07 +0000 (12:01 +0200)
commitfde35c9c7db5732cc1fbd89fa5eba5a9e0b25f6e
treea63b445c8cc26e2c79c7c743ab2009be37fe87a9
parent6207ba04347705481d5e4021206179aadeb8e917
clk: renesas: cpg-mssr: Add R7S9210 support

Add support for the R7S9210 (RZ/A2) Clock Pulse Generator and Module
Standby.

The Module Standby HW in the RZ/A series is very close to R-Car HW, except
for how the registers are laid out.
The MSTP registers are only 8-bits wide, there are no status registers
(MSTPSR), and the register offsets are a little different. Since the RZ/A
hardware manuals refer to these registers as the Standby Control Registers,
we'll use that name to distinguish the RZ/A type from the R-Car type.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Acked-by: Rob Herring <robh@kernel.org> # DT bits
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt
drivers/clk/renesas/Kconfig
drivers/clk/renesas/Makefile
drivers/clk/renesas/r7s9210-cpg-mssr.c [new file with mode: 0644]
drivers/clk/renesas/renesas-cpg-mssr.c
drivers/clk/renesas/renesas-cpg-mssr.h
include/dt-bindings/clock/r7s9210-cpg-mssr.h [new file with mode: 0644]