From patchwork Wed Aug 20 13:31:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4751241 Return-Path: X-Original-To: patchwork-linux-sh@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 5F6F59F344 for ; Wed, 20 Aug 2014 13:29:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45DB720172 for ; Wed, 20 Aug 2014 13:29:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6138C20170 for ; Wed, 20 Aug 2014 13:29:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbaHTN3b (ORCPT ); Wed, 20 Aug 2014 09:29:31 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:42755 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbaHTN3b (ORCPT ); Wed, 20 Aug 2014 09:29:31 -0400 Received: by mail-pd0-f176.google.com with SMTP id y10so11797147pdj.7 for ; Wed, 20 Aug 2014 06:29:28 -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=p/jiQ4lo/0/orJ+1AP1VRsJUYAyPZ4n7F5Fs0tDphko=; b=M/wiZUgsCsXl4IgaPrqaWxFm+QMR6Yots8z/KdQ1ft5i8FxPNLpx6q8fARukTYSbT2 20/3L8j1meFQZUdaKg3TKUH6y5oIVZdGxAOgy+6SkblL5sOSii8HjSn5FSKMFIl2aZfe H3FA1jhaZHtW68mhMawKTkiaJZMX5cL5AXRd+dsy+fXfQ4uSJd7y5vothCPqACYHDnsN KEh3AQ0kBESruTQns7LV8/3b5OB4rT736VqWjQbh9x/FrZRFBAdkKXUPwyCDdr8u+Tkl Jt+42EidhBw07nKfCcKp/SLZmSg5S+VXKblV0i8MotLg0ysEKMnrxg2uP5aM3xKzPjdX Zeng== X-Received: by 10.68.200.72 with SMTP id jq8mr5559212pbc.116.1408541368252; Wed, 20 Aug 2014 06:29:28 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id ro7sm1969124pab.25.2014.08.20.06.29.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 06:29:27 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, geert+renesas@glider.be Date: Wed, 20 Aug 2014 22:31:45 +0900 Message-Id: <20140820133145.808.13057.sendpatchset@w520> In-Reply-To: <20140820133121.808.91022.sendpatchset@w520> References: <20140820133121.808.91022.sendpatchset@w520> Subject: [PATCH 02/06] ARM: shmobile: Introduce a Kconfig entry for R-Mobile Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Add a Kconfig entry for R-Mobile SoCs that enables both CMT and TMU timers. Interrupt controller varies with SoC version so it is excluded. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0002/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2014-08-19 22:41:10.000000000 +0900 @@ -2,6 +2,11 @@ config ARCH_SHMOBILE bool select ARCH_WANT_OPTIONAL_GPIOLIB +config ARCH_RMOBILE + bool + select SYS_SUPPORTS_SH_CMT + select SYS_SUPPORTS_SH_TMU + menuconfig ARCH_SHMOBILE_MULTI bool "Renesas ARM SoCs" if ARCH_MULTI_V7 depends on MMU @@ -68,39 +73,35 @@ comment "Renesas ARM SoCs System Type" config ARCH_SH7372 bool "SH-Mobile AP4 (SH7372)" + select ARCH_RMOBILE select ARM_CPU_SUSPEND if PM || CPU_IDLE select CPU_V7 select SH_CLK_CPG - select SYS_SUPPORTS_SH_CMT - select SYS_SUPPORTS_SH_TMU config ARCH_SH73A0 bool "SH-Mobile AG5 (R8A73A00)" + select ARCH_RMOBILE select ARM_GIC select CPU_V7 select I2C select SH_CLK_CPG select RENESAS_INTC_IRQPIN - select SYS_SUPPORTS_SH_CMT - select SYS_SUPPORTS_SH_TMU config ARCH_R8A73A4 bool "R-Mobile APE6 (R8A73A40)" + select ARCH_RMOBILE select ARM_GIC select CPU_V7 select SH_CLK_CPG select RENESAS_IRQC - select SYS_SUPPORTS_SH_CMT - select SYS_SUPPORTS_SH_TMU config ARCH_R8A7740 bool "R-Mobile A1 (R8A77400)" + select ARCH_RMOBILE select ARM_GIC select CPU_V7 select SH_CLK_CPG select RENESAS_INTC_IRQPIN - select SYS_SUPPORTS_SH_CMT - select SYS_SUPPORTS_SH_TMU config ARCH_R8A7778 bool "R-Car M1A (R8A77781)"