Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/sh_cmt: Add R-Car gen3 support

Add support for the R-Car gen3 CMT types 0/1 -- they seem to be the same
CMT types 0/1 as in R-Car gen2 SoCs.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Sergei Shtylyov and committed by
Daniel Lezcano
ac142a7f 9a199422

+8
+8
drivers/clocksource/sh_cmt.c
··· 935 935 .compatible = "renesas,rcar-gen2-cmt1", 936 936 .data = &sh_cmt_info[SH_CMT1_RCAR_GEN2] 937 937 }, 938 + { 939 + .compatible = "renesas,rcar-gen3-cmt0", 940 + .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] 941 + }, 942 + { 943 + .compatible = "renesas,rcar-gen3-cmt1", 944 + .data = &sh_cmt_info[SH_CMT1_RCAR_GEN2] 945 + }, 938 946 { } 939 947 }; 940 948 MODULE_DEVICE_TABLE(of, sh_cmt_of_table);