Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1654135ybh; Sun, 8 Mar 2020 09:33:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs36EmJeSauidRuGSCfbwmQLz0JnWyRRUWeIeEPJso9brxAvI6PFC8gciEwjGn5R98Un8ck X-Received: by 2002:a9d:6957:: with SMTP id p23mr9900924oto.60.1583685202945; Sun, 08 Mar 2020 09:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583685202; cv=none; d=google.com; s=arc-20160816; b=QnXkuZc0xPldK7a+XRRdRLOI5nb9drCJ8w7Y3XrNre990ypFy/VTf42t5b0aPiGiG9 QciWoz7PyaKwS/p2ZIvncMah6qmey2dWNwazsgU37w+t7b26A36mHxus2RhqR2rV3pIt C1waRRxCfB23FjoMDcbOAOp0Ng7kvQxasPorokz9K11/jZFMnRF+/qsjfFPFoF0+yttc b+ZwIHXrAAde/BwaUGNTBRKVAzKuPh1Vo5q93VpYkXjAzxOLmDum9FAYt10YNBTrBrzj eDiFZ+laXvQCXcWLm5jcJPHAWCeq0aj/Bl/e8Ez8EKf0sAV2pMq4Lt6ig47BU5PyAEAj 2YRw== 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; bh=p1rFsneqlHEgnQ9AqkcDO8eza4PqvCZ3JtYjYez9LCU=; b=x0HZZGpWCyXdJCVnk/UzLQvGrrZn6W8BYX7hd6GhWDQp+OfPQzlvhG1OWcICUgikqL fJzx1JoZjXigSK62cEn9ByL7Blparw1n4pfImBXc9wyknP+Vnfgv99vq0K2QYR7f6bqH xpwK5/c5KFtNf2PBResqQmnsCHb82mPKrfALom1Rvkreh+mIcI9zCo2KBSyfkDZxr4bv oKnulVnWjiO0yGpzB1yl5N7Y0/QOwrquOWk4/zOdLESW7A/8s55Q0tRC6OiK8MzHzTN0 f4NauwaJbhazWrsOpYccJzHO2wYiGU/L0A9jAS2iBEIXJoW2pak92ngUMUc88puSjgs+ 04fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si2693866oij.275.2020.03.08.09.33.10; Sun, 08 Mar 2020 09:33:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbgCHQcv (ORCPT + 99 others); Sun, 8 Mar 2020 12:32:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:44914 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgCHQct (ORCPT ); Sun, 8 Mar 2020 12:32:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DD49BB053; Sun, 8 Mar 2020 16:32:46 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?Wells=20Lu=20=E5=91=82=E8=8A=B3=E9=A8=B0?= , Dvorkin Dmitry , linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , devicetree@vger.kernel.org Subject: [RFC 04/11] dt-bindings: interrupt-controller: Add Sunplus SP7021 mux Date: Sun, 8 Mar 2020 17:32:22 +0100 Message-Id: <20200308163230.4002-5-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200308163230.4002-1-afaerber@suse.de> References: <20200308163230.4002-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Sunplus SP7021 SoC has an interrupt mux. Cc: Wells Lu 呂芳騰 Signed-off-by: Andreas Färber --- .../sunplus,pentagram-intc.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/sunplus,pentagram-intc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/sunplus,pentagram-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/sunplus,pentagram-intc.yaml new file mode 100644 index 000000000000..baaf7bcd4a71 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/sunplus,pentagram-intc.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/sunplus,pentagram-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus Pentagram SoC Interrupt Controller + +maintainers: + - Andreas Färber + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + const: sunplus,sp7021-intc + + reg: + maxItems: 2 + + interrupts: + maxItems: 2 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + +required: + - compatible + - reg + - interrupt-controller + +unevaluatedProperties: false + +examples: + - | + #include + + interrupt-controller@9c000780 { + compatible = "sunplus,sp7021-intc"; + reg = <0x9c000780 0x80>, + <0x9c000a80 0x80>; + interrupts = , + ; + interrupt-controller; + #interrupt-cells = <2>; + }; +... -- 2.16.4