linux/arch/mips/mti-malta
Matt Redfearn 4287adec72 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>
2017-04-20 14:56:58 +02:00
..
Makefile MIPS: Malta: Setup RAM regions via DT 2015-11-11 08:35:47 +01:00
malta-amon.c MIPS: APRP: Choose the correct VPE loader by fixing the linking 2014-03-06 21:20:23 +01:00
malta-display.c MIPS: FW: malta: Code formatting clean-ups. 2013-05-08 12:30:10 +02:00
malta-dt.c MIPS: Malta: Remove custom DT match table 2016-10-06 17:31:01 +02:00
malta-dtshim.c MIPS: Malta: Probe interrupt controllers via DT 2016-10-06 17:31:00 +02:00
malta-init.c MIPS: Malta: Allow PCI devices DMA to lower 2GB physical 2016-10-06 17:31:00 +02:00
malta-int.c MIPS: Print CM error reports upon bus errors 2016-10-06 18:02:18 +02:00
malta-memory.c tree-wide: replace config_enabled() with IS_ENABLED() 2016-08-04 08:50:07 -04:00
malta-platform.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
malta-pm.c MIPS: Malta: add suspend state entry code 2014-05-30 21:01:09 +02:00
malta-reset.c MIPS: Malta: Remove custom halt implementation 2016-10-06 17:31:01 +02:00
malta-setup.c MIPS: Print CM error reports upon bus errors 2016-10-06 18:02:18 +02:00
malta-time.c MIPS/Malta: Probe gic-timer via devicetree 2017-04-20 14:56:58 +02:00
Platform KVM/MIPS32: Infrastructure/build files. 2013-05-08 03:55:34 +02:00