projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab0bbef
)
clocksource/drivers/timer-ti-dm: Add compatible for am6 SoCs
author
Tony Lindgren
<tony@atomide.com>
Fri, 8 Apr 2022 10:17:15 +0000
(13:17 +0300)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Wed, 27 Jul 2022 15:00:48 +0000
(17:00 +0200)
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>
drivers/clocksource/timer-ti-dm.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/timer-ti-dm.c
b/drivers/clocksource/timer-ti-dm.c
index 530b71f3ab37296d6d6fc43f4fa79bb371d5c4e3..80d7e5aaefde3cd89dba470cd0a031ab10a93fa2 100644
(file)
--- a/
drivers/clocksource/timer-ti-dm.c
+++ b/
drivers/clocksource/timer-ti-dm.c
@@
-1036,6
+1036,10
@@
static const struct dmtimer_platform_data omap3plus_pdata = {
.timer_ops = &dmtimer_ops,
};
+static const struct dmtimer_platform_data am6_pdata = {
+ .timer_ops = &dmtimer_ops,
+};
+
static const struct of_device_id omap_timer_match[] = {
{
.compatible = "ti,omap2420-timer",
@@
-1064,6
+1068,10
@@
static const struct of_device_id omap_timer_match[] = {
.compatible = "ti,dm816-timer",
.data = &omap3plus_pdata,
},
+ {
+ .compatible = "ti,am654-timer",
+ .data = &am6_pdata,
+ },
{},
};
MODULE_DEVICE_TABLE(of, omap_timer_match);