Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753070AbaLDHwS (ORCPT ); Thu, 4 Dec 2014 02:52:18 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:46282 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbaLDHwR (ORCPT ); Thu, 4 Dec 2014 02:52:17 -0500 Date: Thu, 4 Dec 2014 16:52:14 +0900 From: Simon Horman To: Magnus Damm Cc: SH-Linux , linux-kernel , Thomas Gleixner , Jason Cooper Subject: Re: [PATCH 02/02] ARM: shmobile: marzen-reference: Remove IRLM workaround Message-ID: <20141204075213.GQ25806@verge.net.au> References: <20141203121753.5936.36253.sendpatchset@w520> <20141203121813.5936.17433.sendpatchset@w520> <20141204072153.GE25806@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organisation: Horms Solutions Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 04, 2014 at 04:33:25PM +0900, Magnus Damm wrote: > Hi Simon, > > On Thu, Dec 4, 2014 at 4:21 PM, Simon Horman wrote: > > Hi Magnus, > > > > On Wed, Dec 03, 2014 at 09:18:13PM +0900, Magnus Damm wrote: > >> 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(-) > >> > >> --- 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>; > > > > Is there any order implied by the above list? > > Naïvely I would expect it to be sorted numerically. > > Yes, the driver assumes the register banks to be passed in a certain > order. In the case of r8a7779 we add one more register bank at the end > for IRLM setup. Register detail (base address, access size, order and > bitfield width) varies with SoC version. So the IRLM register will be > at different addresses depending on SoC, but the driver wants it at > the end of the list. Thanks, if it is intentional then that is fine by me. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/