From patchwork Thu Aug 28 15:31:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4805561 Return-Path: X-Original-To: patchwork-linux-arm@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 0A58EC0338 for ; Thu, 28 Aug 2014 15:35:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 66B0920123 for ; Thu, 28 Aug 2014 15:35:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB015200EC for ; Thu, 28 Aug 2014 15:35:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XN1fw-00023X-Bc; Thu, 28 Aug 2014 15:31:48 +0000 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XN1ft-00020T-UU for linux-arm-kernel@lists.infradead.org; Thu, 28 Aug 2014 15:31:46 +0000 Received: by mail-wg0-f52.google.com with SMTP id m15so922679wgh.35 for ; Thu, 28 Aug 2014 08:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=aYUqdqIEYJhfWH2bvik/OcB5R641kXY1QS7fTndhT2I=; b=m//ZFRJ6KOb388/2YBdYc5r5W3vB6RDs2ShwIgZ9WYyLYe30mAYjzSazsWySHnj5sU PG/oMlWkd1U3srkXzD2DJKH0XjoRCZNXZ8ifmiRBDpH8Dre2fVMcdNi0PKEuSQR1VaEB 7xFLkVVcTFmrN3+Q8lr6zP6JPrYniZG5A4xqcGQQLb9T1Fdi8EVhoxaMDFJ1N6T1y9Gs mVNwDcenAIsjtQ5t6QATTYC2PGxEtPn9LpmsgLRX1nbjFxEgNCdJJLjwtvrZ89jq2Lts 1Sss5IjXBznsV7KFKGgSRjGPEBG7LRljToD0eYAFh8NNL82Voga3RzGZUIboeKBIbbKu tc+w== X-Received: by 10.194.173.234 with SMTP id bn10mr6162778wjc.81.1409239883072; Thu, 28 Aug 2014 08:31:23 -0700 (PDT) Received: from localhost (port-14388.pppoe.wtnet.de. [84.46.56.108]) by mx.google.com with ESMTPSA id s2sm10839935wjz.8.2014.08.28.08.31.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Aug 2014 08:31:22 -0700 (PDT) From: Thierry Reding To: Stephen Warren Subject: [PATCH v4 1/5] of: Add NVIDIA Tegra Legacy Interrupt Controller binding Date: Thu, 28 Aug 2014 17:31:15 +0200 Message-Id: <1409239879-12376-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.0.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140828_083146_153228_3B5950AA X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no 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 From: Thierry Reding The Legacy Interrupt Controller found on NVIDIA Tegra SoCs is used by the AVP coprocessor and can also serve as a backup for the ARM Cortex CPU's local interrupt controller (GIC). The LIC is subdivided into multiple identical units, each handling 32 possible interrupt sources. Signed-off-by: Thierry Reding --- Changes in v3: - bracket individual tuples in the "reg" property .../interrupt-controller/nvidia,tegra20-ictlr.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt b/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt new file mode 100644 index 000000000000..1639389b7360 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt @@ -0,0 +1,19 @@ +NVIDIA Tegra Legacy Interrupt Controller + +The legacy interrupt controller is divided into units that serve 32 interrupts +each. Tegra20 implements four units, whereas Tegra30 and later implement five. + +Required properties: +- compatible: "nvidia,tegra-ictlr" +- reg: Physical base address and length of the controller's registers. There + should be one entry for each unit. + +Example: + + interrupt-controller@60004000 { + compatible = "nvidia,tegra20-ictlr"; + reg = <0x60004000 0x40>, /* primary controller */ + <0x60004100 0x40>, /* secondary controller */ + <0x60004200 0x40>, /* tertiary controller */ + <0x60004300 0x40>; /* quaternary controller */ + };