From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH 1/2] ARM: DT: fix gic interrupt controller documentation Date: Thu, 13 Mar 2014 12:25:54 -0600 Message-ID: <20140313182554.GA15990@obsidianresearch.com> References: <1394732405-2260-1-git-send-email-tharvey@gateworks.com> <1394732405-2260-2-git-send-email-tharvey@gateworks.com> <5321EE81.1030207@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5321EE81.1030207@wwwdotorg.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Stephen Warren Cc: Mark Rutland , Richard Zhu , linux-samsung-soc , Grant Likely , Ben Dooks , Arnd Bergmann , linux-pci@vger.kernel.org, Tim Harvey , Jingoo Han , linux-tegra , Simon Horman , Thierry Reding , Sascha Hauer , Bjorn Helgaas , Kukjin Kim , Shawn Guo , linux-arm-kernel@lists.infradead.org, Lucas Stach List-Id: linux-tegra@vger.kernel.org On Thu, Mar 13, 2014 at 11:44:33AM -0600, Stephen Warren wrote: > On 03/13/2014 11:40 AM, Tim Harvey wrote: > > When using interrupt-maps, the size of a map entry is #address-cells + > > #interrupt-cells for the parent interrupt controller. For the ARM GIC > > address-cells should be 0 as this is not used. > > > > This patch fixes the example by correctly specifying #address-cells = 0. > > If the #address-cells property is required (well, or even optional...) > in the node, shouldn't it be included in the list of required/optional > properties above, and not solely included in the example? AFAIK, #address-cells = 0 is the same as not including a #address-cells at all. Omitting entirely is what other interrupt-controller bindings are doing, so I'd just drop mention of #address-cells completely. Jason