提交 4e320361 编写于 作者: T Tony Lindgren 提交者: Daniel Lezcano

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: NTony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220408101715.43697-4-tony@atomide.comSigned-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
上级 ab0bbef3
...@@ -1036,6 +1036,10 @@ static const struct dmtimer_platform_data omap3plus_pdata = { ...@@ -1036,6 +1036,10 @@ static const struct dmtimer_platform_data omap3plus_pdata = {
.timer_ops = &dmtimer_ops, .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[] = { static const struct of_device_id omap_timer_match[] = {
{ {
.compatible = "ti,omap2420-timer", .compatible = "ti,omap2420-timer",
...@@ -1064,6 +1068,10 @@ static const struct of_device_id omap_timer_match[] = { ...@@ -1064,6 +1068,10 @@ static const struct of_device_id omap_timer_match[] = {
.compatible = "ti,dm816-timer", .compatible = "ti,dm816-timer",
.data = &omap3plus_pdata, .data = &omap3plus_pdata,
}, },
{
.compatible = "ti,am654-timer",
.data = &am6_pdata,
},
{}, {},
}; };
MODULE_DEVICE_TABLE(of, omap_timer_match); MODULE_DEVICE_TABLE(of, omap_timer_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册