From 608ad4b6932f72995144bc72a31b1e0843a5bb28 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Tue, 11 Feb 2014 02:07:41 +0000 Subject: mvebu: backport mainline patches from kernel 3.12 This is a backport of the patches accepted to the Linux mainline related to mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12. This work mainly covers: * Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c) between the PXA family,and the Armada family. * Further updates to the mvebu MBus. * Work and ground work for enabling MSI on the Armada family. * some phy / mdio bus initialization related work. * Device tree binding documentation update. Signed-off-by: Seif Mazareeb CC: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39565 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...urce-mvebu-Use-the-main-timer-as-clock-so.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/mvebu/patches-3.10/0084-arm-clocksource-mvebu-Use-the-main-timer-as-clock-so.patch (limited to 'target/linux/mvebu/patches-3.10/0084-arm-clocksource-mvebu-Use-the-main-timer-as-clock-so.patch') diff --git a/target/linux/mvebu/patches-3.10/0084-arm-clocksource-mvebu-Use-the-main-timer-as-clock-so.patch b/target/linux/mvebu/patches-3.10/0084-arm-clocksource-mvebu-Use-the-main-timer-as-clock-so.patch new file mode 100644 index 0000000000..dccc259cd7 --- /dev/null +++ b/target/linux/mvebu/patches-3.10/0084-arm-clocksource-mvebu-Use-the-main-timer-as-clock-so.patch @@ -0,0 +1,33 @@ +From 02b0213923da41034a766942508d882f9be51efd Mon Sep 17 00:00:00 2001 +From: Jean Pihet +Date: Wed, 18 Sep 2013 20:55:09 +0200 +Subject: [PATCH 084/203] arm: clocksource: mvebu: Use the main timer as clock + source from DT + +This commit: + 573145f08c2b92c45498468afbbba909f6ce6135 + clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE + +replaced a call to the driver's timer initialization by a call to +clocksource_of_init(). However, it failed to select CONFIG_CLKSRC_OF. + +Fix this by selecting CONFIG_CLKSRC_OF for Armada370/XP machines. +Without this change the kernel is stuck at: 'Calibrating delay loop...'. + +Signed-off-by: Jean Pihet +Acked-by: Ezequiel Garcia +Signed-off-by: Daniel Lezcano +--- + drivers/clocksource/Kconfig | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/clocksource/Kconfig ++++ b/drivers/clocksource/Kconfig +@@ -24,6 +24,7 @@ config DW_APB_TIMER_OF + + config ARMADA_370_XP_TIMER + bool ++ select CLKSRC_OF + + config SUN4I_TIMER + bool -- cgit v1.2.3