From patchwork Thu Mar 13 17:40:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 3827691 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 AAF0CBF540 for ; Thu, 13 Mar 2014 17:40:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25D16201E9 for ; Thu, 13 Mar 2014 17:40:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8ECB3201FB for ; Thu, 13 Mar 2014 17:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754744AbaCMRkU (ORCPT ); Thu, 13 Mar 2014 13:40:20 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:62461 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754281AbaCMRkS (ORCPT ); Thu, 13 Mar 2014 13:40:18 -0400 Received: by mail-pa0-f47.google.com with SMTP id lj1so1433124pab.20 for ; Thu, 13 Mar 2014 10:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/MF0sdsJ4mFs60Ntur99MD0OYbuVk3S/3yZl3aLYvAE=; b=fbkI13Mir74/XL9P/o6CAtlCPA/wBIvhOQ9bpiewO2+LXtv4lZftLKFXunP2+CkgwH NahTZnqEHZu+ZYYV3RQhIJ468D1xFosF2BAleqePEpSRGVSZGWUCA/uX34G7m/pSEZ5O dj+wsqR+2DBcuiHM9y1mfck35VusbwNiogmeCreHpke+PBX7yR5jYSVdeudKefiFEw+U OInVrJoV2nKE4070STgcBnQeSUt+VqKpdxY4Ra3mFF2dXYuo5/B7RfvFoNsn2YYNOqnI er1qyl3dDR6ELvgPscxaQNp7heSvLgIocYgkC1LZ7msizxueUj44ywg0tdn/L2jeLYZ/ nBjg== X-Gm-Message-State: ALoCoQlT3qnQFMGjNXKvdkMZgg11rgMcbS5fSg0ciA2W/G9y0wEg7LfCfJ7PCq5Nygg2z+oQKt3a X-Received: by 10.68.139.137 with SMTP id qy9mr3846460pbb.11.1394732418056; Thu, 13 Mar 2014 10:40:18 -0700 (PDT) Received: from localhost.localdomain (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id bc4sm8911434pbb.2.2014.03.13.10.40.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 10:40:17 -0700 (PDT) From: Tim Harvey To: linux-pci@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Jason Gunthorpe , Jingoo Han , Lucas Stach , Mark Rutland , linux-samsung-soc , Richard Zhu , Sascha Hauer , Arnd Bergmann , Stephen Warren , Bjorn Helgaas , Simon Horman , Thierry Reding , Ben Dooks , linux-tegra , Kukjin Kim , Shawn Guo , Grant Likely Subject: [PATCH 1/2] ARM: DT: fix gic interrupt controller documentation Date: Thu, 13 Mar 2014 10:40:04 -0700 Message-Id: <1394732405-2260-2-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394732405-2260-1-git-send-email-tharvey@gateworks.com> References: <1394732405-2260-1-git-send-email-tharvey@gateworks.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 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. Signed-off-by: Tim Harvey Cc: Jason Gunthorpe Cc: Jingoo Han Cc: Lucas Stach Cc: Mark Rutland Cc: linux-samsung-soc Cc: Richard Zhu Cc: Sascha Hauer Cc: Arnd Bergmann Cc: Stephen Warren Cc: Bjorn Helgaas Cc: Simon Horman Cc: Thierry Reding Cc: Ben Dooks Cc: linux-tegra Cc: Kukjin Kim Cc: Shawn Guo Cc: Grant Likely --- Documentation/devicetree/bindings/arm/gic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index bae0d87..b59ff1f 100644 --- a/Documentation/devicetree/bindings/arm/gic.txt +++ b/Documentation/devicetree/bindings/arm/gic.txt @@ -55,7 +55,7 @@ Example: intc: interrupt-controller@fff11000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells = <3>; - #address-cells = <1>; + #address-cells = <0>; interrupt-controller; reg = <0xfff11000 0x1000>, <0xfff10100 0x100>;