Skip to content

Commit 4e32036

Browse files
tmlinddlezcano
authored andcommitted
clocksource/drivers/timer-ti-dm: Add compatible for am6 SoCs
Add compatible for ti,am654-timer to support the timers. For example, am654 has four timers in the MCU domain and 12 timers in the MAIN domain. Cc: Keerthy <j-keerthy@ti.com> Cc: Nishanth Menon <nm@ti.com> Cc: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20220408101715.43697-4-tony@atomide.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent ab0bbef commit 4e32036

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/clocksource/timer-ti-dm.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,10 @@ static const struct dmtimer_platform_data omap3plus_pdata = {
10361036
.timer_ops = &dmtimer_ops,
10371037
};
10381038

1039+
static const struct dmtimer_platform_data am6_pdata = {
1040+
.timer_ops = &dmtimer_ops,
1041+
};
1042+
10391043
static const struct of_device_id omap_timer_match[] = {
10401044
{
10411045
.compatible = "ti,omap2420-timer",
@@ -1064,6 +1068,10 @@ static const struct of_device_id omap_timer_match[] = {
10641068
.compatible = "ti,dm816-timer",
10651069
.data = &omap3plus_pdata,
10661070
},
1071+
{
1072+
.compatible = "ti,am654-timer",
1073+
.data = &am6_pdata,
1074+
},
10671075
{},
10681076
};
10691077
MODULE_DEVICE_TABLE(of, omap_timer_match);

0 commit comments

Comments
 (0)