summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2017-04-19 15:26:45 +0300
committerThomas Gleixner <tglx@linutronix.de>2017-04-20 15:56:58 +0300
commit4287adec7212d48fb878a45400fd7e11a198462c (patch)
tree8bfd774d6b97feb0ae092b2f133add6d576072a2 /drivers/clocksource
parent0773cea37470f8e080c510fe720fc356cf35df3a (diff)
downloadlinux-4287adec7212d48fb878a45400fd7e11a198462c.tar.xz
MIPS/Malta: Probe gic-timer via devicetree
The Malta platform is the only platform remaining to probe the GIC clocksource via gic_clocksource_init. This route hardcodes an expected virq number based on MIPS_GIC_IRQ_BASE, which can be fragile to the eventual virq layout. Instread, probe the driver using the preferred and more modern devicetree method. Before the driver is probed, set the "clock-frequency" property of the devicetree node to the value detected by Malta platform code. Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Cc: linux-mips@linux-mips.org Cc: James Hogan <james.hogan@imgtec.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Ralf Baechle <ralf@linux-mips.org> Link: http://lkml.kernel.org/r/1492604806-23420-1-git-send-email-matt.redfearn@imgtec.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions