From patchwork Mon Aug 25 03:03:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4772241 Return-Path: X-Original-To: patchwork-linux-sh@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 C3A16C0338 for ; Mon, 25 Aug 2014 03:01:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF0BD20121 for ; Mon, 25 Aug 2014 03:01:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2517420114 for ; Mon, 25 Aug 2014 03:01:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753879AbaHYDBI (ORCPT ); Sun, 24 Aug 2014 23:01:08 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:47214 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826AbaHYDBI (ORCPT ); Sun, 24 Aug 2014 23:01:08 -0400 Received: by mail-pd0-f173.google.com with SMTP id w10so19404477pde.4 for ; Sun, 24 Aug 2014 20:01:07 -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=tTwbp56k0eC2dJ6GoEpVDqwWNWcAD+FyA2HnHtbTa2E=; b=p/cj1ihv5jU18s9oFmmbG0KZu4SclMhS1It+dhW1hzN+zOTGkbaxYWnaZ28lwFDHrT xf6IvxylTsgllhKzlZgUVwAHkPXtd+kT9TPGKsIGlCdZN44vSt7Q0jvCNcAttr/XLQgv VM5IDbfze8wgdIOOPh9d2oTNANujC0tQHhzEtHN2RHvpFu+QDIAePn11JciAH+xfKaue tsKXTCCRqRZsDJ57uJ5+J7X+rl+lKPz1ssKqD6LPaLIIW0B6GrUsSZIVwYGHQxH7Cgju ys8FBLS+dCCXVdbdbosGIAT2HndRf/gx2CE/3J014jySpPFHG9oTrH7UyCJGLsLzI6As NeVQ== X-Received: by 10.70.52.165 with SMTP id u5mr24791982pdo.62.1408935667791; Sun, 24 Aug 2014 20:01:07 -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 fw3sm35805026pbb.2.2014.08.24.20.01.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Aug 2014 20:01:06 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, geert+renesas@glider.be Date: Mon, 25 Aug 2014 12:03:25 +0900 Message-Id: <20140825030325.1936.4365.sendpatchset@w520> In-Reply-To: <20140825030316.1936.88249.sendpatchset@w520> References: <20140825030316.1936.88249.sendpatchset@w520> Subject: [PATCH v2 01/05] 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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Acked-by: Geert Uytterhoeven --- Changes since V1: - Removed dependency of "ARM: shmobile: Consolidate GPIOLIB Kconfig bits" 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 --- 0001/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2014-08-25 11:28:15.000000000 +0900 @@ -1,6 +1,11 @@ config ARCH_SHMOBILE bool +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 @@ -67,16 +72,16 @@ comment "Renesas ARM SoCs System Type" config ARCH_SH7372 bool "SH-Mobile AP4 (SH7372)" + select ARCH_RMOBILE select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_CPU_SUSPEND if PM || CPU_IDLE select CPU_V7 select SH_CLK_CPG select SH_INTC - select SYS_SUPPORTS_SH_CMT - select SYS_SUPPORTS_SH_TMU config ARCH_SH73A0 bool "SH-Mobile AG5 (R8A73A00)" + select ARCH_RMOBILE select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_GIC select CPU_V7 @@ -84,28 +89,24 @@ config ARCH_SH73A0 select SH_CLK_CPG select SH_INTC 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 ARCH_WANT_OPTIONAL_GPIOLIB 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 ARCH_WANT_OPTIONAL_GPIOLIB 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)"