clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM support
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 12 Nov 2021 18:44:12 +0000 (18:44 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 9 Dec 2021 13:05:20 +0000 (14:05 +0100)
commit3a3e9f23c2cae907677a236fa547610ca747e6fb
tree1a43b307200f82c7dceb0699b9f71d61d3fb4989
parent92d06a3f67ad809649d26aa7698e4d42362585a8
clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM support

RZ/G2L SoC has Generic Timer Module(a.k.a OSTM) which needs to
deassert the reset line before accessing any registers.

This patch adds an entry point for RZ/G2L so that we can deassert
the reset line in probe callback.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211112184413.4391-4-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/renesas-ostm.c