Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3122646pxb; Tue, 21 Sep 2021 15:15:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaBqOkmIMeg4gVC5U2suE9gWncJzr0vchZPU6AaKtDzcBNqPzgKGTLj5HrivMaJHsjtt9F X-Received: by 2002:a17:906:4fd6:: with SMTP id i22mr37011021ejw.92.1632262546166; Tue, 21 Sep 2021 15:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632262546; cv=none; d=google.com; s=arc-20160816; b=glObhunKJmj/1xv/TDrslaT2zsVnEZ4m9cNyXY9LdK8PrfF8VPfj+/PkCWdXmoRjCd O7y1/evgj0M2+OryWWJ5mXF5kFuxJxlLTwm2glA1vmzqogZAji9B5TkxGB0Bs9v3zWOr vQ0xuTNLfVVlyR0sRYhabK8OssDei9BIhzBOPNAMQVw+vtQoA0tmddQSyKmP3D4hE8gR ZzmAKtKdKT0O9UI4iykWN6qzdbnAfgDJA3F/Zckc0RweHAfU1hPSGZ0c8tIsxCd3a0Ex F+aTd2ut6b8yAZwPM2q+K21xUUHUIR9mXafvmoj1MRlXyRUlWKznZWo4UP00NIRGhIi7 k7uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=+Ux9K4EEJ+7XgvQSDLvzJ+Zin1AUmcU30SFy2d+Aexg=; b=a/VyOLyFXT/HkyLleU27Hm+ZRYVQ/Br7NDipjpxdry9lv+e5bTPWGoTjKujzto3i0Q 6RFpe2ms7cRX+fDVr5aXkwRG+G2GjuMvSsfcv7BhMasVjA/eu6x8ySsRmc+K7fpAyqbe bCj0Q5GzPY13cu/7U4jUNBjySLq8kVWSLyk7PNZ0HGM6G4W+7uQcDf/IGCbv/bu3wlgP XCa+Hn6yPr+Ofz/5TOG2ckSdLmuOLI616Uk5Q1Cv/8Jy0hEH8Ge/vAOp6e5QihoiZic7 t77YJz2x7OuDZBaKEwsBwrFZ8Rs0HnzIVlgaCDRQUz84ybOMiyZADXCCqUm/cyzRl3B9 1FrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 24si252464eja.257.2021.09.21.15.15.22; Tue, 21 Sep 2021 15:15:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233245AbhIUTcP (ORCPT + 99 others); Tue, 21 Sep 2021 15:32:15 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:29954 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229519AbhIUTcK (ORCPT ); Tue, 21 Sep 2021 15:32:10 -0400 X-IronPort-AV: E=Sophos;i="5.85,311,1624287600"; d="scan'208";a="94607066" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 22 Sep 2021 04:30:39 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 499C840E82C9; Wed, 22 Sep 2021 04:30:37 +0900 (JST) From: Lad Prabhakar To: Marc Zyngier , Thomas Gleixner , Geert Uytterhoeven , Rob Herring , Linus Walleij , Magnus Damm , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [RFC PATCH v2 1/4] dt-bindings: interrupt-controller: Add Renesas RZ/G2L Interrupt Controller Date: Tue, 21 Sep 2021 20:30:25 +0100 Message-Id: <20210921193028.13099-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210921193028.13099-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210921193028.13099-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings for the Renesas RZ/G2L Interrupt Controller. Signed-off-by: Lad Prabhakar --- .../renesas,rzg2l-irqc.yaml | 130 ++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml new file mode 100644 index 000000000000..ab1848d537aa --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml @@ -0,0 +1,130 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/renesas,rzg2l-irqc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/G2L Interrupt Controller + +maintainers: + - Lad Prabhakar + - Geert Uytterhoeven + +description: | + The RZ/G2L Interrupt Controller is a front-end for the GIC found on Renesas RZ/G2L SoC's + - IRQ sense select for 8 external interrupts, mapped to 8 GIC SPI interrupts + - GPIO pins used as external interrupt input pins, mapped to 32 GIC SPI interrupts + - NMI edge select (NMI is not treated as NMI exception and supports fall edge and + stand-up edge detection interrupts) + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a07g044-irqc # RZ/G2L + - const: renesas,rzg2l-irqc + + '#interrupt-cells': + const: 2 + + '#address-cells': + const: 0 + + interrupt-controller: true + + reg: + maxItems: 1 + + interrupts: + description: Specifies the GIC interrupts. + maxItems: 41 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: clk + - const: pclk + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - '#interrupt-cells' + - '#address-cells' + - interrupt-controller + - reg + - interrupts + - clocks + - clock-names + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + + irqc: interrupt-controller@110a0000 { + compatible = "renesas,r9a07g044-irqc", "renesas,rzg2l-irqc"; + #interrupt-cells = <2>; + #address-cells = <0>; + interrupt-controller; + reg = <0x110a0000 0x10000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD R9A07G044_IA55_CLK>, + <&cpg CPG_MOD R9A07G044_IA55_PCLK>; + clock-names = "clk", "pclk"; + power-domains = <&cpg>; + resets = <&cpg R9A07G044_IA55_RESETN>; + }; -- 2.17.1