From patchwork Wed Sep 18 18:49:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Pihet X-Patchwork-Id: 2908761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DF3A19F1E3 for ; Wed, 18 Sep 2013 18:52:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DAF10203AC for ; Wed, 18 Sep 2013 18:52:13 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 872CC203B6 for ; Wed, 18 Sep 2013 18:52:12 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMMpt-0002u7-Tt; Wed, 18 Sep 2013 18:50:51 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMMpR-00042B-Vv; Wed, 18 Sep 2013 18:50:22 +0000 Received: from mail-ee0-f47.google.com ([74.125.83.47]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMMpA-0003ys-Ah for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2013 18:50:05 +0000 Received: by mail-ee0-f47.google.com with SMTP id d49so3637309eek.6 for ; Wed, 18 Sep 2013 11:49:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OblHlGycb4Gp6PYdotYsMi1Fv3d0MJdrV+UqrTrXo6I=; b=P/b9BSRv5qUQVgSH0uSMeGdu0gkKiPSIAw4G2raIoSxKITmXnS6x7QSVkDF+7Dz8M6 OBWmMUcIGQ3xLjDUZtGLTIMAhiWwbUAF+57sCetG6bL1DWV08DDHnP5Vp+MSs5z2rTD8 CoGZFNtsRTKh1dLaXEjK/cAb1IYGd1vGvRwhqC+qy1DXqtqAm2qotYYU+0fX3F8o1PGH tyEc9hAaMB1bTttz9u4EOLPeG8mKcNKxvUPofsBK8BCbHH78YKEecQTd1GvljF2F3VBI WpUDS9APHoFR/EnsoHT4W6Fv/TK9t+qGU/bbUjBJi61vB9X2xf0RuJcP+VANGXrWtgVF G4WA== X-Gm-Message-State: ALoCoQmDknhI1xO5V55Nlk8YQ1gZmWSFmVjZlSxVyvrvIF/vzOTZaTH9gtJuyuhn8+tMfDsDbmDC X-Received: by 10.15.75.193 with SMTP id l41mr5269208eey.58.1379530179356; Wed, 18 Sep 2013 11:49:39 -0700 (PDT) Received: from localhost.localdomain (71.63-241-81.adsl-dyn.isp.belgacom.be. [81.241.63.71]) by mx.google.com with ESMTPSA id d8sm5130688eeh.8.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Sep 2013 11:49:38 -0700 (PDT) From: Jean Pihet To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jason Cooper , Ezequiel Garcia Subject: [PATCH] arm: mvebu: use the main timer as clock source from DT Date: Wed, 18 Sep 2013 20:49:28 +0200 Message-Id: <1379530168-9359-1-git-send-email-jean.pihet@linaro.org> X-Mailer: git-send-email 1.7.11.7 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130918_145004_592361_E1DF2941 X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Thomas Petazzoni , Gregory Clement , Jean Pihet , Andrew Lunn , patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Jason Cooper --- drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 41c6946..971d796 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -26,6 +26,7 @@ config DW_APB_TIMER_OF config ARMADA_370_XP_TIMER bool + select CLKSRC_OF config ORION_TIMER select CLKSRC_OF