Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp597460pxa; Wed, 19 Aug 2020 09:40:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc/zo+Fp/hcj6cw65eA7BoZ1lByqdZcpnrH8036BvZKaTDYUZyUI37FpDhzxXGD2C7VURT X-Received: by 2002:a17:906:9984:: with SMTP id af4mr27121829ejc.90.1597855202244; Wed, 19 Aug 2020 09:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597855202; cv=none; d=google.com; s=arc-20160816; b=UvHGt4tbEdYtYQl0NbD+3FMVfVP2fLJUV2Rp7x80vZebrBcUil6NT3WZKQBzGvFw+x teMSUyJKfAv/eJt/vinln83UeB16WVhw9XgBDlmvFrWIhAq4ou+HFptlny0v1bO0vt5x ECwtOpBrjUphWgkTxfraMADpx6ZyWBSXX4qtXIGnqTvVXzTbJy4Z0ltR7O6VQw7Uf/z8 HVTR0Q6Krr/n7b7hhvb6P/4JAmGwIsFU1h2+O1TF2+8JUDZ2mF+0+Q01y5HJ1ayLUt+L OWAh52s4TBxA0U2aAhZACwqhydG3vE4LV/joU8QIRteE3pHy6ivQI67Fevn7uM3p2B4X wFMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TuH/A+TLhIqSrIh/+j5/Udbr5P8a39mUMZfeyoIlU/w=; b=oFuuJajyRfbcOEVCavlo7kLoZnITA3rYO01OA9BSLX1Lg207d6wK9YUfsDpT0W31Wo x8FXFZZdRsieqB3zCoiQlX456jOOdAunbMtdquZ7CvjhVBA6w47i8buaeYsTb4Pqi/D4 kCYTnRlrpheWlUVOCL4cquEc+aDahKm84To5fnYBrIO4fS7sXb2ENpvD/TiQpIfSeFW3 vi/Pm4cHdUdYX/z4q+sWT7sk52bdBJiIy6UPZHI3yaPhYAXp5lsybT76plvaWqqTCRAL JrvqoKmU1tPsfF7AYXYKYF/5atUMRCFAmjgx0Q6fNMkkMRXMRJNVjyMlJZBUVOQSIdsK Rv9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="D/8D7+ku"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si15922800edv.463.2020.08.19.09.39.38; Wed, 19 Aug 2020 09:40:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="D/8D7+ku"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbgHSQii (ORCPT + 99 others); Wed, 19 Aug 2020 12:38:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbgHSQiE (ORCPT ); Wed, 19 Aug 2020 12:38:04 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6335C061383; Wed, 19 Aug 2020 09:38:03 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id bo3so27025230ejb.11; Wed, 19 Aug 2020 09:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TuH/A+TLhIqSrIh/+j5/Udbr5P8a39mUMZfeyoIlU/w=; b=D/8D7+ku6SuLxAxkrqYBmZtTY2pwUEyxTVhSH6OKU7hhbUc+xJIZ8x60PLkIX2fofP mmVUFjE+Uy3G/Mcwsloq3bLkpaPZTg6DeB3hh6AwhJbq2BREsjJAOkns9J2UnH99k6S2 lncVGYk97MOTBtMRGZbA7gN2a0GIThuXF5lYj6SsEL7Yu3PP15GxLRED4RtX3Dp3YiVz LFN1x8oa6Rha41fIsB2RH1avptfU371iKfRGMCt6iq/Bs6E/b3agcZM4vBIAr5jjPpl5 R+H7V26Q4C0bpiPCScX/X9Dh++dwA7O/BcAMCUeiSRdkJkehGmctFpeWe9nt9uy686+g dJ8w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TuH/A+TLhIqSrIh/+j5/Udbr5P8a39mUMZfeyoIlU/w=; b=H+5rUFsCVCkwR1Sk3syoFn3LWFoAuDFUts14tkeRoz8F5qfMOAwtcDIcJjaF4HHJdd si6pcctU7TG7E7q/6WL+L3wiFLG3274yMF5jH5zyyWUqM9mnPEq3x2ZncOwlBeuk3j17 mjoPgvjdiPxo9ZO526A75ZoJCs7uFlgIzpssFJrUq9bfUoJERl6anNE83p4LtxqSpdfX B2fLLvFpIPY5GPkAcaUrMcEEVaP+RrD9H9xWfx9B3eyntDG8VnbIbpNR0WnLoycwp5Zm +8EbWwtSldoDVYaZr1zK53TehBR09UTA6/9gk9kOLF2TL2ZElNN6z8yth8NBmhp2B0SX PG7w== X-Gm-Message-State: AOAM5309eJy8wLJSk1gQnN06DQiqUdJ3LnIQTWz12RoyELePgkRzfLNx 4vgJy25a5cfi3XUr42Q5p9o= X-Received: by 2002:a17:906:841:: with SMTP id f1mr5185696ejd.158.1597855082086; Wed, 19 Aug 2020 09:38:02 -0700 (PDT) Received: from localhost.localdomain ([188.24.144.238]) by smtp.gmail.com with ESMTPSA id m13sm18310774edi.89.2020.08.19.09.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 09:38:01 -0700 (PDT) From: Cristian Ciocaltea To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org Subject: [PATCH v5 1/3] dt-bindings: interrupt-controller: Add Actions SIRQ controller binding Date: Wed, 19 Aug 2020 19:37:56 +0300 Message-Id: <6bd99d4a7e50904b57bb3ad050725fbb418874b7.1597852360.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actions Semi Owl SoCs SIRQ interrupt controller is found in S500, S700 and S900 SoCs and provides support for handling up to 3 external interrupt lines. Signed-off-by: Cristian Ciocaltea --- Changes in v5: - Updated controller description statements both in the commit message and the binding doc .../actions,owl-sirq.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml new file mode 100644 index 000000000000..cf9b7a514e4e --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoCs SIRQ interrupt controller + +maintainers: + - Manivannan Sadhasivam + - Cristian Ciocaltea + +description: | + This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 + and S900) and provides support for handling up to 3 external interrupt lines. + +properties: + compatible: + oneOf: + - items: + - enum: + - actions,s500-sirq + - actions,s700-sirq + - actions,s900-sirq + - const: actions,owl-sirq + - const: actions,owl-sirq + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell is the input IRQ number, between 0 and 2, while the second + cell is the trigger type as defined in interrupt.txt in this directory. + + 'actions,ext-interrupts': + description: | + Contains the GIC SPI IRQ numbers mapped to the external interrupt + lines. They shall be specified sequentially from output 0 to 2. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 3 + maxItems: 3 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - 'actions,ext-interrupts' + +additionalProperties: false + +examples: + - | + sirq: interrupt-controller@b01b0200 { + compatible = "actions,s500-sirq", "actions,owl-sirq"; + reg = <0xb01b0200 0x4>; + interrupt-controller; + #interrupt-cells = <2>; + actions,ext-interrupts = <13>, /* SIRQ0 */ + <14>, /* SIRQ1 */ + <15>; /* SIRQ2 */ + }; + +... -- 2.28.0