From patchwork Mon Jan 30 19:28:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92912 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1597708qgi; Mon, 30 Jan 2017 11:31:31 -0800 (PST) X-Received: by 10.84.233.132 with SMTP id l4mr34210638plk.15.1485804691142; Mon, 30 Jan 2017 11:31:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v75si13491837pfa.126.2017.01.30.11.31.30; Mon, 30 Jan 2017 11:31:31 -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 S1754452AbdA3Tb2 (ORCPT + 7 others); Mon, 30 Jan 2017 14:31:28 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:33772 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754089AbdA3T3e (ORCPT ); Mon, 30 Jan 2017 14:29:34 -0500 Received: by mail-lf0-f44.google.com with SMTP id x1so113233522lff.0 for ; Mon, 30 Jan 2017 11:28:45 -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=WI2Rol8AMeARb2jaEVTBHHAHHrz/8E3KSL5uwad2Nps=; b=Xk7kNamgMV/QN3jcDNsBke6URETn2Mq4qrz6oyi2o00WAsuzYO7WPnGqHbT1XjLV7L VwhZWDcTJrbE0i0EMM34GIk7ZIiURK22dB57AwIetFiCnekRtYNYjnvUeHEmH5S4pKgB d5NovKZWj7iJU2WvPh8xjIRQjbFKgL2Fv03yA= 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=WI2Rol8AMeARb2jaEVTBHHAHHrz/8E3KSL5uwad2Nps=; b=eiLyuVNgXxRkZx95BEWOW66PsSW2dZIwqmmxQSG4W/QhprYT8suQgZsBoSpXzkGTWH MTIH40dYPAyavOuTar8rLFaX9gt4ogl7acp9zebLbm4rGRLJ9Crla0WY5oFSSwRC9//R 823CKT4CEb2wrFGkPoVV9g+llsALi/Gl2g9I50c9N9sIXgBZ7TzdNlOSxdkGE78ooaur K4nlfblmra0DGr7qdCGPUGN+bwu6RvhMzxDcFgDcyDf3DnRQbHxhIE5ttWC2Mt7wEpTY crClkTAQPfgtPqil0OvDFH++cBbflf5m0u7L6+avRMOExZlVK95oBkbaasl51E1lcZxd ibaQ== X-Gm-Message-State: AIkVDXIKkaAEkmIJpJVhb4wGd4x2YV5PDmlNxmRFTYoVpsWSA5tMivdI6XFgcxmX/V71GQo+ X-Received: by 10.46.69.215 with SMTP id s206mr8683306lja.26.1485804524188; Mon, 30 Jan 2017 11:28:44 -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 14sm3948723lju.16.2017.01.30.11.28.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 11:28:42 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Marc Zyngier Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 v3] irqchip: DT bindings for Cortina Gemini irqchip Date: Mon, 30 Jan 2017 20:28:38 +0100 Message-Id: <20170130192838.15825-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 Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Just split off and send as separate series. ChangeLog v1->v2: - Added Rob's ACK 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 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>; +};