clk: renesas: cpg-mssr: Add support for reset control
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 Jan 2017 10:03:03 +0000 (11:03 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2017 07:59:00 +0000 (08:59 +0100)
commit6197aa65c4905532943155d03031ba0f3a4b2a3b
tree8868430b1e37f6f2f78e8cafa4f5128b54d1af6e
parenta4ea6a0f83073f256547a49fa6433806cee2cc87
clk: renesas: cpg-mssr: Add support for reset control

Add optional support for the Reset Control feature of the Renesas Clock
Pulse Generator / Module Standby and Software Reset module on R-Car
Gen2, R-Car Gen3, and RZ/G1 SoCs.

This allows to reset SoC devices using the Reset Controller API.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/clk/renesas/renesas-cpg-mssr.c