clk: renesas: rcar-gen3-cpg: Add support for RCLK on R-Car H3 ES2.0
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 10 Mar 2017 11:13:37 +0000 (12:13 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Mar 2017 11:26:02 +0000 (13:26 +0200)
commitbb1953067c05be30a605ee1d5b05a2677735bb37
treeb2b7bc366b5814c5f0c9dcc8a73296aee849bdbe
parent5573d194128b47334e3edb2db87cb471449d445a
clk: renesas: rcar-gen3-cpg: Add support for RCLK on R-Car H3 ES2.0

Starting with R-Car H3 ES2.0, the parent of RCLK is selected using MD28.

Add support for that, but retain the old behavior for R-Car H3 ES1.x and
M3-W ES1.0 using a quirk.

Inspired by a patch by Takeshi Kihara in the BSP.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
drivers/clk/renesas/rcar-gen3-cpg.c