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: 3827681 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 84E1A9F369 for ; Thu, 13 Mar 2014 17:40:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90DCB201FD for ; Thu, 13 Mar 2014 17:40:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 933C720181 for ; Thu, 13 Mar 2014 17:40:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761AbaCMRkV (ORCPT ); Thu, 13 Mar 2014 13:40:21 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:53624 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754729AbaCMRkS (ORCPT ); Thu, 13 Mar 2014 13:40:18 -0400 Received: by mail-pb0-f42.google.com with SMTP id rr13so1429055pbb.15 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=fxH+rFO3zJxlPhIjj8eQTnHPAJzz2wh4VjL5vEriLdcCC1tO8RwXo+18BSS2msp3o6 qd/yG434VApsZKVvEIVPq0zVCQDBGSkcuuWGs10YNLnly5tBvvG5Yar0j8i42qdGIRNJ jmYkV1iefodplE5KEdoZ8zOvTkcbNFt73hCzSu2zPhdhQ1I18TQFAghwymnHgn82eJfF damsRxsHtNvUhrxiEnV85kp8OJghTii9kKhYteHqDXqAzFr5aOfowdG/YohSWLb0rOeH 6n1S5T+OUzH4wzrqnSAVBzhxvtuvHw3xDvo+P9WpUXt1wpGzvukrEA2X6UCz5WwikZF0 m/gw== X-Gm-Message-State: ALoCoQlyv+jerkjfQ6ddV6yWHi2mgsGDPi49sl7AR0Zcviea3kuKcnlh2V3SAYF5BWU3D3FW6IrE 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-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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=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 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>;