clk: renesas: rcar-gen2: Centralize quirks handling
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 29 Mar 2018 08:56:56 +0000 (10:56 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 16 Apr 2018 11:42:18 +0000 (13:42 +0200)
commita34f778cb89a8554a5d1f5a75b297c07c672afce
tree7eb35c1770f7e5ce4c99aff916d4b4bc0b86ea09
parent246e232437e5a045792aee95b2f9c7718516596c
clk: renesas: rcar-gen2: Centralize quirks handling

Introduce centralized quirks handling like on R-Car Gen3, and convert
the RZ/G1C SD clock table handling over to it.

This makes it easier to add more quirks later, if/when needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
drivers/clk/renesas/rcar-gen2-cpg.c