From patchwork Sat Dec 15 09:03:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 206606 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7DA5D2C00C2 for ; Sat, 15 Dec 2012 20:08:05 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tjnf4-00029G-1q; Sat, 15 Dec 2012 09:03:58 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tjney-00027X-Ji for linux-arm-kernel@lists.infradead.org; Sat, 15 Dec 2012 09:03:53 +0000 Received: from joe.kanocho.kobe.vergenet.net (101-140-169-19f1.hyg1.eonet.ne.jp [101.140.169.19]) by kirsty.vergenet.net (Postfix) with ESMTP id 8124625BE90; Sat, 15 Dec 2012 20:03:47 +1100 (EST) Received: by joe.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 7223128A04C; Sat, 15 Dec 2012 18:03:46 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Subject: [RFC v7 00/10] ARM: shmobile: DT initialisation of INTC and GIC Date: Sat, 15 Dec 2012 18:03:34 +0900 Message-Id: <1355562224-29448-1-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121215_040353_234479_6631315C X-CRM114-Status: GOOD ( 11.88 ) X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [202.4.237.240 listed in list.dnswl.org] -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: devicetree-discuss@lists.ozlabs.org, Magnus Damm , Bastian Hecht , Paul Mundt , Nobuhiro Iwamatsu , Guennadi Liakhovetski , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The aims of this series are: * Add DT bindings to to INTC * Allowing sh7372 and r8a7740 ARM shmobile SoCs to use DT to initialise INTCA Key Changes since v5 (previous public revision of this series) * Drop support for sh73a0 SoC. To be useful this requires a fuller initialisation than jsut INCA. In particular, cascade IRQs that are shared between INTC and GIC need to be handled. * Drop board support This will be revisited on a per-board basis, ideally with filler INTC initialisation via DT in place * Drop GIC initialisation This will also be revisited on a per-board basis. * Remove unused INTC DT helper functions Status: I am reasonably happy with this series and plan to merge the shmobile portions. Paul, I forget if I asked you this before or not, but could you let me know if you would like to handle the intc patches, the first two patches in the series, or if you are comfortable with them going through my tree. Git and diffstat information provided for review. ---------------------------------------------------------------------- The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git devel/intc-of for you to fetch changes up to 91cb8c20ebbaaf35482cc256b9ab97279bbe753c: ARM: shmobile: sh7372: Use DT initialisation of INTC (2012-12-15 17:50:28 +0900) ---------------------------------------------------------------- Nobuhiro Iwamatsu (9): ARM: shmobile: Add support OF for INTC of shmobile SH: intc: Add support OF of IRQ ARM: shmobile: Add support OF of INTC for r8a7740 ARM: shmobile: Add support OF of INTC for sh7372 ARM: shmobile: Add DT table of INTC for sh7372 ARM: shmobile: Add DT table of INTC for r8a7740 ARM: shmobile: Include DTSI of r8a7740 to armadillo800eva ARM: shmobile: r8a7740: Use DT initialisation of INTC ARM: shmobile: sh7372: Use DT initialisation of INTC Simon Horman (1): ARM: shmobile: sh7372: Do not initialise TMU when using DT Documentation/devicetree/bindings/sh/intc.txt | 152 +++++ arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +- arch/arm/boot/dts/r8a7740.dtsi | 743 ++++++++++++++++++++++- arch/arm/boot/dts/sh7372.dtsi | 784 +++++++++++++++++++++++++ arch/arm/mach-shmobile/include/mach/common.h | 2 + arch/arm/mach-shmobile/intc-r8a7740.c | 70 ++- arch/arm/mach-shmobile/intc-sh7372.c | 113 +++- arch/arm/mach-shmobile/setup-r8a7740.c | 2 +- arch/arm/mach-shmobile/setup-sh7372.c | 19 +- drivers/sh/intc/Makefile | 1 + drivers/sh/intc/core.c | 2 +- drivers/sh/intc/internals.h | 3 +- drivers/sh/intc/irqdomain.c | 6 +- drivers/sh/intc/of_intc.c | 571 ++++++++++++++++++ include/linux/sh_intc.h | 56 ++ 15 files changed, 2481 insertions(+), 45 deletions(-) create mode 100644 Documentation/devicetree/bindings/sh/intc.txt create mode 100644 drivers/sh/intc/of_intc.c