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 <[email protected]> Cc: Nishanth Menon <[email protected]> Cc: Vignesh Raghavendra <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent ab0bbef commit 4e32036

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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)