clk: renesas: rcar-gen2: Obtain mode pin values using RST driver
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 7 Jul 2015 12:57:37 +0000 (14:57 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Nov 2016 19:43:48 +0000 (20:43 +0100)
commitf84c9c3ca9770bd847cb361d67bd385499a20d37
tree14ed5507ddf8f68d94229eb9c9f2026a3acaa4bf
parent931db8a0c646e23f0c5a3e2175742997d7e60ff5
clk: renesas: rcar-gen2: Obtain mode pin values using RST driver

Obtain the values of the mode pins from the R-Car RST driver, which
relies on the presence in DT of a device node for the RST module.

Fall back to our own private copy of rcar_gen2_read_mode_pins() for
backward-compatibility with old DTs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
drivers/clk/renesas/clk-rcar-gen2.c