From patchwork Thu Jan 29 13:08:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 43931 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EEBAA24119 for ; Thu, 29 Jan 2015 13:10:21 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u10sf19696318lbd.3 for ; Thu, 29 Jan 2015 05:10:20 -0800 (PST) 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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=XZnxxJ7YhJHllLisZ6+q3r9ml7bekQ3xGdxxl0sMOWo=; b=JRN2NZVMuajwqdOcqkvqlbrbx8iO+jaJIsWfYdJqQiq5LAi3WgcUTirA7YwSqseru8 Ubr+zCeZHmP0m1Zl+O+f+bPSlAy3uqdaiY9n+JeIe9gwJnwGxGMJQIVW6clvU52v3r0c wH023HaOaFSYF2XbK3pOSfNlMsTWrd/XhYBtU1q2EZMK2gQmDAbNnFwRMPFJglsaYR3s hounwMT0Gi5BPbX2kw45q1ToVXfjHtPRpRgS4grMlFCwctIpsmfbQkhrSFtipuP3jgYN qCYNLMw6oCjWziUACgkWwyoOYsKbMFw2Cisi/fYmRjueqaVCz35xlHxECw79VjwPzZKc hOHg== X-Gm-Message-State: ALoCoQnj9eWrhGo681VsPMwoBt2MSJ5HSJnuC74A7y76Hk8A86DKB8YyywL3UMPH/jndycsVDlxj X-Received: by 10.112.133.98 with SMTP id pb2mr89167lbb.2.1422537020931; Thu, 29 Jan 2015 05:10:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.10.197 with SMTP id k5ls278113lab.77.gmail; Thu, 29 Jan 2015 05:10:20 -0800 (PST) X-Received: by 10.112.129.195 with SMTP id ny3mr720707lbb.10.1422537020702; Thu, 29 Jan 2015 05:10:20 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id as5si7375979lac.38.2015.01.29.05.10.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 05:10:20 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id 10so27836567lbg.6 for ; Thu, 29 Jan 2015 05:10:20 -0800 (PST) X-Received: by 10.152.23.195 with SMTP id o3mr621436laf.70.1422537020599; Thu, 29 Jan 2015 05:10:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1757524lbj; Thu, 29 Jan 2015 05:10:19 -0800 (PST) X-Received: by 10.68.201.1 with SMTP id jw1mr317254pbc.167.1422537018712; Thu, 29 Jan 2015 05:10:18 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bl1si9723140pbb.192.2015.01.29.05.09.55; Thu, 29 Jan 2015 05:10:18 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756874AbbA2NIs (ORCPT + 28 others); Thu, 29 Jan 2015 08:08:48 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:43893 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932198AbbA2NIo (ORCPT ); Thu, 29 Jan 2015 08:08:44 -0500 Received: by mail-wi0-f178.google.com with SMTP id bs8so15735300wib.5 for ; Thu, 29 Jan 2015 05:08:43 -0800 (PST) X-Received: by 10.181.8.199 with SMTP id dm7mr763820wid.81.1422536923437; Thu, 29 Jan 2015 05:08:43 -0800 (PST) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id fo17sm10415824wjc.19.2015.01.29.05.08.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Jan 2015 05:08:42 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Barry.Song@csr.com, baruch@tkos.co.il, linux@rempel-privat.de, rob.herring@linaro.org, thierry.reding@gmail.com Subject: [PATCH 8/9] clocksource: versatile: Adapt for Versatile AB and PB boards Date: Thu, 29 Jan 2015 14:08:18 +0100 Message-Id: <1422536899-16609-8-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422536899-16609-1-git-send-email-daniel.lezcano@linaro.org> References: <54CA3044.6070501@linaro.org> <1422536899-16609-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Rob Herring The same 24MHz counter is also present on Versatile AB and PB boards, so add the compatible string for them. Signed-off-by: Rob Herring Acked-by: Liviu Dudau Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Daniel Lezcano --- drivers/clocksource/versatile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/versatile.c b/drivers/clocksource/versatile.c index 2798e74..0a26d3d 100644 --- a/drivers/clocksource/versatile.c +++ b/drivers/clocksource/versatile.c @@ -36,5 +36,7 @@ static void __init versatile_sched_clock_init(struct device_node *node) sched_clock_register(versatile_sys_24mhz_read, 32, 24000000); } -CLOCKSOURCE_OF_DECLARE(versatile, "arm,vexpress-sysreg", +CLOCKSOURCE_OF_DECLARE(vexpress, "arm,vexpress-sysreg", + versatile_sched_clock_init); +CLOCKSOURCE_OF_DECLARE(versatile, "arm,versatile-sysreg", versatile_sched_clock_init);