summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-versatile
Commit message (Collapse)AuthorAgeFilesLines
* ARM: 6264/1: fix Versatile Express LED oversightLinus Walleij2010-07-261-4/+5
| | | | | | | | | My attempt to make the LEDs only compile for RealView and Versatile was futile: I missed the Versatile Express. So invert the logic and explicitly include the platforms to compile for. Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: 6235/2: driver for the LEDs found in the later ARM refdesignsLinus Walleij2010-07-262-2/+108
| | | | | | | | | | | This adds a simple driver supporting the new LED framework with triggers and all for the RealView and Versatile platforms. The RealView and Versatile platform drivers were arranged to compile for all-but-integrator as a side effect since the Integrator has a different LED driver. Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Indirect round/set_rate operations through clk structureRussell King2010-05-022-12/+41
| | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Realview/Versatile: separate out common sched_clock()Russell King2010-05-022-0/+55
| | | | | | | Provide a common sched_clock() implementation for Versatile and Realview. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Realview/Versatile: don't use magic numbers for timer frequencyRussell King2010-05-021-7/+5
| | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Realview/Versatile: remove useless TIMER_RELOAD calculationsRussell King2010-05-021-11/+1
| | | | | | | | | | | | | | | | | | Realview/Versatile copied the Integrator timer code, including the calculations for ensuring that the reload value fits into the 16-bit counter. However, these platforms have a 32-bit counter which is clocked at a slower rate. The result is that the preprocessor conditions are never triggered: TICKS_PER_uSEC = 1, mSEC_10 = 10000, which is 0x2710 - less than 0x10000. So, remove the unnecessary complexity, reducing the TIMER_RELOAD calculation to just: TICKS_PER_uSEC * mSEC_10 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Realview/Versatile: separate out common SP804 timer codeRussell King2010-05-023-0/+171
| | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: Realview/Versatile/Integrator: separate out common clock codeRussell King2010-05-022-0/+61
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
OpenPOWER on IntegriCloud