Skip to content

Commit aa84506

Browse files
Wolfram Sangdlezcano
authored andcommitted
clocksource/drivers/sh_cmt: Add R-Car Gen4 support
Add support for the R-Car Gen4 CMT types 0/1 which are the same as in the previous two generations. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20220713100603.3391-4-wsa+renesas@sang-engineering.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent bd0ed73 commit aa84506

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/clocksource/sh_cmt.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,14 @@ static const struct of_device_id sh_cmt_of_table[] __maybe_unused = {
981981
.compatible = "renesas,rcar-gen3-cmt1",
982982
.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
983983
},
984+
{
985+
.compatible = "renesas,rcar-gen4-cmt0",
986+
.data = &sh_cmt_info[SH_CMT0_RCAR_GEN2]
987+
},
988+
{
989+
.compatible = "renesas,rcar-gen4-cmt1",
990+
.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
991+
},
984992
{ }
985993
};
986994
MODULE_DEVICE_TABLE(of, sh_cmt_of_table);

0 commit comments

Comments
 (0)