From patchwork Mon Nov 6 18:34:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118085 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3074694qgn; Mon, 6 Nov 2017 10:34:51 -0800 (PST) X-Google-Smtp-Source: ABhQp+Q5l929CjrdEr1RHT3YzB6a9x6K8Yvw0vglAh8D8ACo1IVlljL6R4ELDs5bAWml3ahz+MiF X-Received: by 10.98.10.153 with SMTP id 25mr17681074pfk.60.1509993291483; Mon, 06 Nov 2017 10:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509993291; cv=none; d=google.com; s=arc-20160816; b=Zy5+c+zXBcvikj49ZriLSwSzLQdm3BTzWUhIpPWm8QiM3Nomzi88l/RA/QmaKdHomO brFZvNigEk2VrZpVzDflMYkkDvN1yK7MZZcfI7kSFsYxze1CWyvMSF8Oi4s0Y6Cy+YgR ziI3XKJZ90sAGKVNMAW3vQ2tLFJXGf42XTBHHu0/J3eXWDzwnbL8DP4j36W0L2i59cwz 5koozNTZuD1ZByamKUEKhhF+eYfQp1kJuJEXoTmGToeXdofdTJfgYyqwit5tcgLyf6YM e2YNVVGs+qbQS9uIQ/qER0CtbeahfJ3ik5EUGdUfDNYaHcsJJq/zjJruqj7v9ZJoiYA0 E15g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zHQ+KUucT0Yw+L7YTjBwvGgN6IXqSGB2nh9k4q0Nl9w=; b=zS9KmsXeeh/DtnyEeJAXTeHFhZV5+CPxqf7Vkh6l/C7dlzV0gk/xqTZF6rrENNWp32 iix2emPWbynHRw/jQKCG0SbJIo3/zPalW5tOoj/Tu2RCeTRoiaOJCpZQCl24M5nkQ3GS ouX/LfovBNZJ7Vl9ciITlPpT4OSWW7Vg1GK38BRtQHg4A1uzyyYuRwHFA79BZW1o5iw2 UoM6Mw0REquCctVz/sNQ1alxB7ZisAKPyKcSmr10Mcxr15YFMI9PhiIwMucDqPLmR1cH g9vl1ecaECSs9ZSStFuMLYQPU94LU+R8GxHS2Yv/SQ9s4OvftZLGn/eY6Rdlvaw/jDgv uaiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q4er+RHY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si12514741pfy.314.2017.11.06.10.34.51; Mon, 06 Nov 2017 10:34:51 -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 header.s=google header.b=Q4er+RHY; 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 S932327AbdKFSeu (ORCPT + 6 others); Mon, 6 Nov 2017 13:34:50 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:50462 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241AbdKFSet (ORCPT ); Mon, 6 Nov 2017 13:34:49 -0500 Received: by mail-wr0-f194.google.com with SMTP id p96so9537873wrb.7 for ; Mon, 06 Nov 2017 10:34:49 -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=dxg+dRcw/FfjsWQS13t1RiuLjz1iGQEX1qUH0Ee7hsI=; b=Q4er+RHYT1AvrFtznk54BFg2vGAcxdzmsJP6a+61s8EG1D6Ao8kn/Pn0xMwwrifzIu hVBohFFadEr9+XFvPhDHfZOn0PoAtrHOwKfnp2AJHNxDIk4iWiQzsnrYmTadZBGgBjZ5 qC3Hydii/8SI91CzXtfIqpWCM0CaVmdLcY8VA= 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=dxg+dRcw/FfjsWQS13t1RiuLjz1iGQEX1qUH0Ee7hsI=; b=j1OcWgN1QMnRICCmKz8TQmUGBIYknuaxBjPhQazCbz4GI4YXIllCm92oCy8Q+VemIe iUJ4cl31p/tIESX9YNpX/EfeQlAAjz/A9M2Dr85005/nY4jFTT70zHSI1/jn0JOiZ0UP XSmN2ohoJRh/z2DFjxw6mCWNlIJRy7egEd5hzApsPyeY5/y1HGbxD4bACjRCZE5Dha98 fhwjvtpWSHXqRqLWYdu+PrOBR0GBDy3TsodOC0gLRBpNBZygxVKAPRpIkIR1yfrZBTGQ awDYGuj/fbwNPXLLD+tb0imyiExWFOwHhHPq3M+Y+/ndUPtgMZ+9us0lMrFUj3o3Vzaq +v4Q== X-Gm-Message-State: AMCzsaXX2eFxxOzJhFXtqruEobXnQABr1n6rWdk08uk4q2XlnnyDJjR/ tj6tg8D/kk63MOvX1R78UXogDO9efnA= X-Received: by 10.223.141.148 with SMTP id o20mr12040385wrb.35.1509993288725; Mon, 06 Nov 2017 10:34:48 -0800 (PST) Received: from localhost.localdomain ([105.129.222.2]) by smtp.gmail.com with ESMTPSA id 2sm6872113wrq.83.2017.11.06.10.34.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 10:34:47 -0800 (PST) From: Ard Biesheuvel To: robh+dt@kernel.org, mark.rutland@arm.com, marc.zyngier@arm.com, jason@lakedaemon.net, tglx@linutronix.de, catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Ard Biesheuvel Subject: [PATCH v2 1/2] dt-bindings: add description of Socionext EXIU interrupt controller Date: Mon, 6 Nov 2017 18:34:36 +0000 Message-Id: <20171106183437.18214-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a description of the External Interrupt Unit (EXIU) interrupt controller as found on the Socionext SynQuacer SoC. Signed-off-by: Ard Biesheuvel --- Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) -- 2.11.0 -- 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/socionext,synquacer-exiu.txt b/Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt new file mode 100644 index 000000000000..dc3778b6fbee --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt @@ -0,0 +1,32 @@ +Socionext SynQuacer External Interrupt Unit (EXIU) + +The Socionext Synquacer SoC has an external interrupt unit (EXIU) +that forwards a block of 32 configurable input lines to 32 adjacent +level-high type GICv3 SPIs. + +Required properties: + +- compatible : Should be "socionext,synquacer-exiu". +- reg : Specifies base physical address and size of the + control registers. +- interrupt-controller : Identifies the node as an interrupt controller. +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value must be 3. +- interrupt-parent : phandle of the GIC these interrupts are routed to. +- socionext,spi-base : The SPI number of the first SPI of the 32 adjacent + ones the EXIU forwards its interrups to. + +Notes: + +- Only SPIs can use the EXIU as an interrupt parent. + +Example: + + exiu: exiu@510c0000 { + compatible = "socionext,synquacer-exiu"; + reg = <0x0 0x510c0000 0x0 0x20>; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <3>; + socionext,spi-base = <112>; + };