From patchwork Tue Jul 9 05:44:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2825087 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A467BC0AB2 for ; Tue, 9 Jul 2013 05:46:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFA7C2011D for ; Tue, 9 Jul 2013 05:46:46 +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 AAEFA20114 for ; Tue, 9 Jul 2013 05:46:45 +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 1UwQjP-0003h4-AE; Tue, 09 Jul 2013 05:44:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwQiz-0006jP-CM; Tue, 09 Jul 2013 05:44:29 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwQiw-0006hQ-IV for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 05:44:27 +0000 Received: by mail-pa0-f49.google.com with SMTP id ld11so5132707pab.36 for ; Mon, 08 Jul 2013 22:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=C+W21uskGOGXfg8JOAcCxuE39LC60yWSBNLNQzDazzc=; b=wNwt3jCKRBOj+v6A2HToX1Se6bOivknZT9QumhpFOi8tg5RRv+el+pfK5kB9Frv5rp j9QX6TWl2YMxl7ZhxkGH2a3cSnN+TMvKzvuc0jktZDLNyT0T+JRVj0yUpgvh+cDbT9Uh 7X5x3HT+NEOGBBmF5p2MDKeP1VTPiRvj7CBKYfBIKgWnrqRIoI5Ud8kUsm3pm2pmB5Zg 2oVGRiTfhE7dq0zuqk6dU5A+WEbUSLX3syhDrS9kKM050z44zuQlU0HG9YMd3zPTBvSj d9NKo5mJUwu0M/yq8hroNnZDRB5uJjcl8rItST4nDoZBqQhspM0hsJSkH3aTvduIJNaZ jE/Q== X-Received: by 10.66.135.146 with SMTP id ps18mr23413064pab.172.1373348645157; Mon, 08 Jul 2013 22:44:05 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id s5sm26151875pbo.38.2013.07.08.22.44.02 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Jul 2013 22:44:04 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 09 Jul 2013 14:44:09 +0900 Message-Id: <20130709054409.14007.23571.sendpatchset@w520> In-Reply-To: <20130709054331.14007.66068.sendpatchset@w520> References: <20130709054331.14007.66068.sendpatchset@w520> Subject: [PATCH 04/04] ARM: shmobile: Allow ARCH_SHMOBILE_MULTI timer configuration X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130709_014426_763813_2A7F8D0F X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: arnd@arndb.de, Magnus Damm , horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, shinya.kuribayashi.px@renesas.com, linux-arm-kernel@lists.infradead.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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Magnus Damm Move the timer configuration bits to allow use in case of ARCH_SHMOBILE or ARCH_SHMOBILE_MULTI. The timers all make use of the regular driver model so they are safe to enable for ARCH_MULTIPLATFORM. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) --- 0005/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-07-09 12:07:23.000000000 +0900 @@ -30,6 +30,8 @@ config MACH_KZM9D_REFERENCE of not supporting a number of devices. This is intended to aid developers + +comment "SH-Mobile System Configuration" endif if ARCH_SHMOBILE @@ -243,6 +245,15 @@ config CPU_HAS_INTEVT bool default y +config SH_CLK_CPG + bool + +source "drivers/sh/Kconfig" + +endif + +if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI + menu "Timer and clock configuration" config SHMOBILE_TIMER_HZ @@ -277,9 +288,4 @@ config EM_TIMER_STI endmenu -config SH_CLK_CPG - bool - -source "drivers/sh/Kconfig" - endif