From patchwork Mon Jan 23 15:56:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 718632 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3v6bXJ2gg6z9srY for ; Tue, 24 Jan 2017 02:56:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751020AbdAWP4a (ORCPT ); Mon, 23 Jan 2017 10:56:30 -0500 Received: from foss.arm.com ([217.140.101.70]:46780 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbdAWP42 (ORCPT ); Mon, 23 Jan 2017 10:56:28 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9DE2615B2; Mon, 23 Jan 2017 07:56:27 -0800 (PST) Received: from approximate.cambridge.arm.com (approximate.cambridge.arm.com [10.1.207.16]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DAB723F318; Mon, 23 Jan 2017 07:56:23 -0800 (PST) From: Marc Zyngier To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Thomas Gleixner , Jason Cooper , Rob Herring , Mark Rutland , Tsahee Zidenberg , Antoine Tenart , Russell King , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Shawn Guo , Sascha Hauer , Fabio Estevam , Santosh Shilimkar , Matthias Brugger , Simon Horman , Magnus Damm , Heiko Stuebner , Maxime Ripard , Chen-Yu Tsai , arm@kernel.org Subject: [PATCH v2 1/2] dt-bindings: arm, gic: Fix binding example for a virt-capable GIC Date: Mon, 23 Jan 2017 15:56:13 +0000 Message-Id: <1485186974-13678-2-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1485186974-13678-1-git-send-email-marc.zyngier@arm.com> References: <1485186974-13678-1-git-send-email-marc.zyngier@arm.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The joys of copy/paste: the example of a virtualization capable GIC in the DT binding was wrong, and propagated to dozens of platforms. By having a GICC region that is only 4kB (instead of 8kB), we end-up not being able to access the GICC_DIR register which is on the second page. Oh well. Let's fix the source of the crap before tackling individual offenders. While we're at it, also fix the compatibility string to mention "arm,gic-400", which is the name of the actual implementation of the GICv2 spec. Acked-by: Tony Lindgren Acked-by: Mark Rutland Acked-by: Arnd Bergmann Signed-off-by: Marc Zyngier --- Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt index 5393e2a..a3d51ed 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt @@ -107,11 +107,11 @@ Required properties: Example: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic"; + compatible = "arm,gic-400"; #interrupt-cells = <3>; interrupt-controller; reg = <0x2c001000 0x1000>, - <0x2c002000 0x1000>, + <0x2c002000 0x2000>, <0x2c004000 0x2000>, <0x2c006000 0x2000>; interrupts = <1 9 0xf04>;