mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
This commit is contained in:
parent
9a199422b0
commit
ac142a7fd2
1 changed files with 8 additions and 0 deletions
|
|
@ -935,6 +935,14 @@ static const struct of_device_id sh_cmt_of_table[] __maybe_unused = {
|
|||
.compatible = "renesas,rcar-gen2-cmt1",
|
||||
.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
|
||||
},
|
||||
{
|
||||
.compatible = "renesas,rcar-gen3-cmt0",
|
||||
.data = &sh_cmt_info[SH_CMT0_RCAR_GEN2]
|
||||
},
|
||||
{
|
||||
.compatible = "renesas,rcar-gen3-cmt1",
|
||||
.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
|
||||
},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, sh_cmt_of_table);
|
||||
|
|
|
|||
Loading…
Reference in a new issue