[PATCH 3/3] clocksource: arch_timer: Add arm,cortex-a7/15-timer in of_match list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Few platforms such as Renesas RZ/N1D, Calxeda, Alpine etc. are using
arm,cortex-a15-timer and arm,cortex-a7-timer entries in conjugation with
arm,armv7-timer which are not currently defined in driver file. Add
these entries in arch_timer_of_match list to bring them in use.

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@xxxxxxxxx>
---
 drivers/clocksource/arm_arch_timer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 1ecd52f903b8..805e60c09916 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -1266,6 +1266,8 @@ static int __init arch_timer_mem_register(void __iomem *base, unsigned int irq)
 static const struct of_device_id arch_timer_of_match[] __initconst = {
 	{ .compatible   = "arm,armv7-timer",    },
 	{ .compatible   = "arm,armv8-timer",    },
+	{ .compatible   = "arm,cortex-a7-timer",    },
+	{ .compatible   = "arm,cortex-a15-timer",    },
 	{},
 };
 
-- 
2.25.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux