From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF985C18E5A for ; Sun, 8 Mar 2020 16:32:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9CF9F20866 for ; Sun, 8 Mar 2020 16:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726482AbgCHQcv (ORCPT ); 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