From patchwork Sun Jan 22 12:16:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92142 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp802271qgi; Sun, 22 Jan 2017 04:16:23 -0800 (PST) X-Received: by 10.84.232.204 with SMTP id x12mr35885594plm.125.1485087383886; Sun, 22 Jan 2017 04:16:23 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si12486269plj.152.2017.01.22.04.16.23; Sun, 22 Jan 2017 04:16:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751104AbdAVMQW (ORCPT + 7 others); Sun, 22 Jan 2017 07:16:22 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:36330 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbdAVMQV (ORCPT ); Sun, 22 Jan 2017 07:16:21 -0500 Received: by mail-lf0-f43.google.com with SMTP id z134so80607851lff.3 for ; Sun, 22 Jan 2017 04:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=V4thbJzbrx2DFlxj4lPUctn8FRuQRbRArTiFR+Frj6w=; b=cWY7KVlIJMVOyBgU+unAgCtMj7z7GbItb12a13gpp1Mpdf+GVg9smfiUkG5fC+IuiP EGfJZXW3bBxHNSmCt1yepa8/OfQVVIw6f8SWeZ1Q33lgUnflNuZuh98IIg4j4Pt04RPi lZgSzduqxpTB8bXvuzVrfFL5IpJq/qsn45daA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=V4thbJzbrx2DFlxj4lPUctn8FRuQRbRArTiFR+Frj6w=; b=QIFfvnb0bvzoiIHrIjT1jpuC4lksmVO6ZBtZ+ql8TbdC1oGJF5BzwWp3jb9SffIq9x KhgwL7rJaDw0jIonMqfIRz0CV0YKWiwr567Rpp0O4mgGVUxJerHCu6nvrFD1F0EiY6bX 1N2Wm1Bfv985Vxe4v8iVICM8FCre8QTRL15xd0TJtAnvmG+dswUgoIYkbQwjs1M6vSzM mPhHi26iLk55MmcbWXC0aN1MKHcZLAHupZaceAciHrHPC08g7dRyIOH4R53NiA4vbCZj qZ88FmXqdQ7i6bTV/geF0Tx312E0e+k0bV4Pgbovua3aV0IRT7arACRsI71eG7JpyFTi HOuA== X-Gm-Message-State: AIkVDXIYtNIYvYjZHZVE7WrxTyp6xAVsHMsPNk8wPUkCPZusAAeJC+ydda+D950Lm37JD/14 X-Received: by 10.46.75.25 with SMTP id y25mr10202820lja.45.1485087379972; Sun, 22 Jan 2017 04:16:19 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id d77sm779902lfd.26.2017.01.22.04.16.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 04:16:15 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Thomas Gleixner , Marc Zyngier Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 02/22] irqchip: DT bindings for Cortina Gemini irqchip Date: Sun, 22 Jan 2017 13:16:09 +0100 Message-Id: <20170122121609.10098-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the Cortina Gemini interrupt controller. They are pretty standard. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- irqchip maintainers: please just apply this when you feel pleased with it. These portions are functionally orthogonal to the series, it is just in a series for context. --- .../cortina,gemini-interrupt-controller.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/cortina,gemini-interrupt-controller.txt -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/interrupt-controller/cortina,gemini-interrupt-controller.txt b/Documentation/devicetree/bindings/interrupt-controller/cortina,gemini-interrupt-controller.txt new file mode 100644 index 000000000000..97c1167fa533 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/cortina,gemini-interrupt-controller.txt @@ -0,0 +1,22 @@ +* Cortina Systems Gemini interrupt controller + +This interrupt controller is found on the Gemini SoCs. + +Required properties: +- compatible: must be "cortina,gemini-interrupt-controller" +- reg: The register bank for the interrupt controller. +- interrupt-controller: Identifies the node as an interrupt controller +- #interrupt-cells: The number of cells to define the interrupts. + Must be 2 as the controller can specify level or rising edge + IRQs. The bindings follows the standard binding for controllers + with two cells specified in + interrupt-controller/interrupts.txt + +Example: + +interrupt-controller@48000000 { + compatible = "cortina,gemini-interrupt-controller"; + reg = <0x48000000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; +};