From patchwork Sat Jan 28 21:14:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92759 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp818742qgi; Sat, 28 Jan 2017 13:15:24 -0800 (PST) X-Received: by 10.98.18.217 with SMTP id 86mr15707016pfs.90.1485638124704; Sat, 28 Jan 2017 13:15:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y30si8102850plh.106.2017.01.28.13.15.24; Sat, 28 Jan 2017 13:15:24 -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 S1752147AbdA1VPX (ORCPT + 7 others); Sat, 28 Jan 2017 16:15:23 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:35804 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752143AbdA1VPW (ORCPT ); Sat, 28 Jan 2017 16:15:22 -0500 Received: by mail-lf0-f46.google.com with SMTP id n124so177440622lfd.2 for ; Sat, 28 Jan 2017 13:15: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=x7neZWQZfADP3bXd+7ujpTvdkMfhmO6LsDhHwDbPUGA=; b=kM8TuW74RnQ4gLERnntzxkBo2h2Q5nK8yS2bvTnWaWMXoPhQCptNR6mxIeRdbvYrkX ShUM2Xi1Vz0rVxIDsfZMq8QeshCmgeH4QoGd0uNAMpamPK7NytrCZjxMAEcEpdd10e7p 0zFtFA6ldFFURqoGItX9EqRHKyYOc0B1ttgV0= 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=x7neZWQZfADP3bXd+7ujpTvdkMfhmO6LsDhHwDbPUGA=; b=VScGppuwstD3VUrwo58QU3xpopoqPjhGb6gvGDj5TJBjX621hzWGtGxZVm63Z+dbpN gM2xPONopOf6OT4WcM9Vc3K2RNvq3abf9x+2Vjhm2GFOEFMUd/j+jOX/g5ECWqdL71oH rwDBvK9qchx3VuZ8DDM96enFbBDZFV5Mfx1YgMoM3nKnvm2SVZMQSpNiSl26PfsbyUwl 7FHd/we5vOEEEwQtyyCuTE5TiyZrthcYHbMdpqBwoHfeZt0mztojpZEux1ouk0aJbSOP 1wVhueUMPr9wzflyCvQsskgB1BVhjDD+Y3tyoF9dzd7onVuMuB92VykybtMzygE2tW7I dJDQ== X-Gm-Message-State: AIkVDXJRIkFKEozAirnGTWBy1VZMnOscNIYaxLSrw3pAuRCllNaeNFfHx4ly7jcxuEs1YxnB X-Received: by 10.25.196.136 with SMTP id u130mr4055609lff.37.1485638120484; Sat, 28 Jan 2017 13:15:20 -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 87sm2346848lft.27.2017.01.28.13.15.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 13:15:19 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , Thomas Gleixner , Marc Zyngier Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 02/22 v2] irqchip: DT bindings for Cortina Gemini irqchip Date: Sat, 28 Jan 2017 22:14:53 +0100 Message-Id: <20170128211453.31436-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 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>; +};