[PATCH 1/2] ARM: DT: fix gic interrupt controller documentation

Tim Harvey tharvey at gateworks.com
Thu Mar 13 13:40:04 EDT 2014


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 <tharvey at gateworks.com>
Cc: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
Cc: Jingoo Han <jg1.han at samsung.com>
Cc: Lucas Stach <l.stach at pengutronix.de>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: linux-samsung-soc <linux-samsung-soc at vger.kernel.org>
Cc: Richard Zhu <r65037 at freescale.com>
Cc: Sascha Hauer <kernel at pengutronix.de>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Stephen Warren <swarren at wwwdotorg.org>
Cc: Bjorn Helgaas <bhelgaas at google.com>
Cc: Simon Horman <horms at verge.net.au>
Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: Ben Dooks <ben-linux at fluff.org>
Cc: linux-tegra <linux-tegra at vger.kernel.org>
Cc: Kukjin Kim <kgene.kim at samsung.com>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: Grant Likely <grant.likely at linaro.org>
---
 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 at fff11000 {
 		compatible = "arm,cortex-a9-gic";
 		#interrupt-cells = <3>;
-		#address-cells = <1>;
+		#address-cells = <0>;
 		interrupt-controller;
 		reg = <0xfff11000 0x1000>,
 		      <0xfff10100 0x100>;
-- 
1.8.3.2




More information about the linux-arm-kernel mailing list