aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/arm_arch_timer.c
diff options
context:
space:
mode:
authorMatt Redfearn <[email protected]>2017-04-19 12:26:45 +0000
committerThomas Gleixner <[email protected]>2017-04-20 12:56:58 +0000
commit4287adec7212d48fb878a45400fd7e11a198462c (patch)
tree8bfd774d6b97feb0ae092b2f133add6d576072a2 /drivers/clocksource/arm_arch_timer.c
parentclocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK (diff)
downloadkernel-4287adec7212d48fb878a45400fd7e11a198462c.tar.gz
kernel-4287adec7212d48fb878a45400fd7e11a198462c.zip
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 <[email protected]> Cc: [email protected] Cc: James Hogan <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Ralf Baechle <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions