From patchwork Wed Feb 18 02:38:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5842521 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 171F0BF440 for ; Wed, 18 Feb 2015 02:38:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4159720154 for ; Wed, 18 Feb 2015 02:38:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6300420149 for ; Wed, 18 Feb 2015 02:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbbBRCiG (ORCPT ); Tue, 17 Feb 2015 21:38:06 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:34965 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbbBRCiF (ORCPT ); Tue, 17 Feb 2015 21:38:05 -0500 Received: by padfa1 with SMTP id fa1so10996347pad.2 for ; Tue, 17 Feb 2015 18:38:04 -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=RtiW5SYFppBu6OF7XTau/2gNkM83SnwaG4KyzVcnqxI=; b=mzX4nLgSFgI8vTkyJeEJzzM7S1DYrbLjkPuIFtWKtYU+bRVHYWdTt66iRaJrJVdjhF GdeJKhsSixoQ6a7UDngqu6hIXOJr4Pdd9swd+J47IvHSaS2+u8Kh4X6JeNdlhMvTbANQ PxvSsl1QPwdojNEwRxex1FBYm2BmlbsZObVsJ0mpPvA3dWWZm9j1meAWTd44swDzt8qE 5sgCB8UNh3NKOydgfe3DSiWWqiPYVAsstC55nCOholcJg0l8aaB33uBMhQLUjMb8Ne8/ fE/e481iMhLk1A7o+Z21zRKAqem6VG3GKeg6YDlF4YEX2AmxMpA4nnp1Q0UQoSX8obUs vObw== X-Received: by 10.68.196.136 with SMTP id im8mr54226233pbc.125.1424227084124; Tue, 17 Feb 2015 18:38:04 -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 bc4sm19190784pac.4.2015.02.17.18.38.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Feb 2015 18:38:03 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Wed, 18 Feb 2015 11:38:22 +0900 Message-Id: <20150218023822.12588.71014.sendpatchset@little-apple> In-Reply-To: <20150218023812.12588.9023.sendpatchset@little-apple> References: <20150218023812.12588.9023.sendpatchset@little-apple> Subject: [PATCH 01/05] ARM: shmobile: r8a7779: Configure IRLM mode via DT 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 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 Acked-by: Geert Uytterhoeven --- Initially written on top of renesas-devel-20141202-v3.18-rc7 and [PATCH] ARM: shmobile: r8a7779 CCF DTS update however applies cleanly to renesas-devel-20150215-v3.19 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