From patchwork Wed Dec 3 12:18:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5430271 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 4B1A4BEEA8 for ; Wed, 3 Dec 2014 12:16:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78C3720328 for ; Wed, 3 Dec 2014 12:16:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E4BE20303 for ; Wed, 3 Dec 2014 12:16:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753067AbaLCMPk (ORCPT ); Wed, 3 Dec 2014 07:15:40 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:36243 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752790AbaLCMPf (ORCPT ); Wed, 3 Dec 2014 07:15:35 -0500 Received: by mail-pa0-f44.google.com with SMTP id et14so15649224pad.31 for ; Wed, 03 Dec 2014 04:15:34 -0800 (PST) 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=YFh4qdLzDpvExhGOrcKjf5ytobW+vg/C9X5orIztSDI=; b=KuMG5smZRd4sUECLxGSCPU8v/rymEUQntdvI7e8CrIu+WblcrngeKv3vZ3OoOXa8LF iKn2SAvxa9QiPW7ZWfF9J6bZVSEadqlh004ltxAihOtefPngbvxRv1MYqOw09BtWscuv VRrESa8XziRAbTwW+ArJIyEEMulRT86WCCwHWxZalf1EXS3O+47qaytQiixIwBNUNwy/ 5uk9tpUounQW96CtRLuiXdkHPafT+3w8/3jPiM+p/vueRC2pK3gvS69XgqAdfJOUaz4o GRABUFZl2nZgnaAQHBhbuAy/sUAGMkovKIlTJ9GG5u99/VM6h4l+DlUm9I07Wlav0iK0 XDrA== X-Received: by 10.70.63.9 with SMTP id c9mr8257634pds.104.1417608934558; Wed, 03 Dec 2014 04:15:34 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id d6sm23050274pdn.40.2014.12.03.04.15.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 04:15:33 -0800 (PST) From: Magnus Damm To: Magnus Damm , linux-sh@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Magnus Damm , horms@verge.net.au, tglx@linutronix.de, jason@lakedaemon.net Date: Wed, 03 Dec 2014 21:18:13 +0900 Message-Id: <20141203121813.5936.17433.sendpatchset@w520> In-Reply-To: <20141203121753.5936.36253.sendpatchset@w520> References: <20141203121753.5936.36253.sendpatchset@w520> Subject: [PATCH 02/02] ARM: shmobile: marzen-reference: Remove IRLM workaround 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=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 Adjust the r8a7779 SoC DTS and the Marzen Reference C board code to use DTS only for INTC-IRQPIN IRLM setup. Signed-off-by: Magnus Damm --- Written on top of renesas-devel-20141202-v3.18-rc7 and [PATCH] ARM: shmobile: r8a7779 CCF DTS update Has a runtime dependency on: [PATCH 01/02] irqchip: renesas-intc-irqpin: r8a7779 IRLM setup support arch/arm/boot/dts/r8a7779.dtsi | 5 +++-- arch/arm/mach-shmobile/board-marzen-reference.c | 7 ------- 2 files changed, 3 insertions(+), 9 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/boot/dts/r8a7779.dtsi +++ work/arch/arm/boot/dts/r8a7779.dtsi 2014-12-03 20:27:49.000000000 +0900 @@ -139,7 +139,7 @@ interrupt-controller; }; - irqpin0: irqpin@fe780010 { + irqpin0: irqpin@fe780000 { compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; #interrupt-cells = <2>; status = "disabled"; @@ -148,7 +148,8 @@ <0xfe780010 4>, <0xfe780024 4>, <0xfe780044 4>, - <0xfe780064 4>; + <0xfe780064 4>, + <0xfe780000 4>; interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH 0 28 IRQ_TYPE_LEVEL_HIGH 0 29 IRQ_TYPE_LEVEL_HIGH --- 0001/arch/arm/mach-shmobile/board-marzen-reference.c +++ work/arch/arm/mach-shmobile/board-marzen-reference.c 2014-12-03 20:28:37.000000000 +0900 @@ -32,12 +32,6 @@ static void __init marzen_init_timer(voi clocksource_of_init(); } -static void __init marzen_init(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); - r8a7779_init_irq_extpin_dt(1); /* IRQ1 as individual interrupt */ -} - static const char *marzen_boards_compat_dt[] __initdata = { "renesas,marzen", "renesas,marzen-reference", @@ -50,7 +44,6 @@ DT_MACHINE_START(MARZEN, "marzen") .init_early = shmobile_init_delay, .init_time = marzen_init_timer, .init_irq = r8a7779_init_irq_dt, - .init_machine = marzen_init, .init_late = shmobile_init_late, .dt_compat = marzen_boards_compat_dt, MACHINE_END