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: 20442 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3679B26114 for ; Wed, 18 Sep 2013 18:49:42 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id 6sf7667484qea.7 for ; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=OblHlGycb4Gp6PYdotYsMi1Fv3d0MJdrV+UqrTrXo6I=; b=LgAkNDSvKsr6s/Cgwakj/3DbHGX8qyFxiaGPNeY/Px8IH+XgfIxn3cHYGUY+ifWHeT gOzGWOSTqNuPVxio0W+XDZfErJTLsngwM0wzGWnRIIrlIQCw7uFG8t2J6ZTIv52Ub10u mAAGwv8pbTUP3CL7IZz9JFM37rj9Z4R0rGeR8zOAisqW5dIYmQtOwS0eWnHBwhp8qz1n B1IZRCcBM46IpnDmrm3UaMHeObBq/ZcPVw8JRmXF7VdW4ymkrI6R/UF1pGDEOrpTYb7p /rptQ6iMJlmXc+3HGGWBrF/hcnSFTHHd9Gnay8qo/42jLcuz2atF/svT9MvvceOb1Qip L/rA== X-Gm-Message-State: ALoCoQm0oxgm+p0aRwyNGJBewz/6HJEH6kO0Yhyv5cebi9A8sIzLwHvHVCzQ+6vQc+CBGvgDHqtf X-Received: by 10.236.223.130 with SMTP id v2mr15522792yhp.34.1379530181705; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.66 with SMTP id a2ls3553073qeg.95.gmail; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) X-Received: by 10.52.94.37 with SMTP id cz5mr1928248vdb.30.1379530181587; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id dt10si857213vdb.60.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 11:49:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ij15so5527407vcb.2 for ; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) X-Received: by 10.220.174.200 with SMTP id u8mr39244968vcz.6.1379530181462; Wed, 18 Sep 2013 11:49:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp234176vcz; Wed, 18 Sep 2013 11:49:40 -0700 (PDT) X-Received: by 10.14.100.138 with SMTP id z10mr4703980eef.74.1379530180419; Wed, 18 Sep 2013 11:49:40 -0700 (PDT) Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by mx.google.com with ESMTPS id u46si3292359eeg.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 11:49:40 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.47 is neither permitted nor denied by best guess record for domain of jean.pihet@linaro.org) client-ip=74.125.83.47; Received: by mail-ee0-f47.google.com with SMTP id d49so3612522eek.20 for ; Wed, 18 Sep 2013 11:49:39 -0700 (PDT) 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 Cc: patches@linaro.org, Thomas Petazzoni , Gregory Clement , Andrew Lunn , Jean Pihet 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: jean.pihet@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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