From nobody Sun Sep 14 16:30:01 2025 Received: from smtpout148.security-mail.net (smtpout148.security-mail.net [85.31.212.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 061E016CD2B for ; Mon, 22 Jul 2024 09:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.31.212.148 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721641508; cv=none; b=oug2u/r2Spi0Nlgd9A/f2lbAgy2sdpyY1xgWPc2dbP3x9k6sWDrBPSmiycSquvBsnOb4vLPurfavB6hLC60m/UDrAtPp3uf0Pa6DiiwTRfWFtvmvoR/BszfJRhFHXeAo/Of2G0KA1DjBct4loyaGQkEPHH+/D8/eSiZ8eKeoN28= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721641508; c=relaxed/simple; bh=DX9g+0kZiXZhcSvUCagT5ep+SpJuakRXEGMnTqccY70=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rvdtbIHvPE3Ky+Cc6olj3lsnfGfQEH0mpsDY8DXjRgeHcBocRJsBpJI8T5cYhex3FlexESOdNmd0suU2RhPqLq/hmzgdCG22RU3aBYsrQU/keuLJHgYpMilJx/WY6o7WCqlpTRb7IyLh7IDxhTirwKgvb5a5qXofM2RNWRCAA1w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kalrayinc.com; spf=pass smtp.mailfrom=kalrayinc.com; dkim=pass (1024-bit key) header.d=kalrayinc.com header.i=@kalrayinc.com header.b=bqu51DDx; arc=none smtp.client-ip=85.31.212.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kalrayinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kalrayinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=kalrayinc.com header.i=@kalrayinc.com header.b="bqu51DDx" Received: from localhost (fx408.security-mail.net [127.0.0.1]) by fx408.security-mail.net (Postfix) with ESMTP id D1897322B40 for ; Mon, 22 Jul 2024 11:43:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kalrayinc.com; s=sec-sig-email; t=1721641396; bh=DX9g+0kZiXZhcSvUCagT5ep+SpJuakRXEGMnTqccY70=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bqu51DDxGuMfZhu5L+7i0SzDj6VEW0HaDzyCWJYc69s0hVpCdgAjMLE0Nc+MenvUp l8FEgM1EHZpAHa5JoDi4I3HLqPM4/AN5zvtzF3WrMcrqc7s6ljAgc0p6JUyrRSGP4V 2GS0ijpdxoShZoXyrMXLZFbHvRVbwbBIP85D8Few= Received: from fx408 (fx408.security-mail.net [127.0.0.1]) by fx408.security-mail.net (Postfix) with ESMTP id 9DBCC322B32; Mon, 22 Jul 2024 11:43:16 +0200 (CEST) Received: from srvsmtp.lin.mbt.kalray.eu (unknown [217.181.231.53]) by fx408.security-mail.net (Postfix) with ESMTPS id 1D4C1322858; Mon, 22 Jul 2024 11:43:16 +0200 (CEST) Received: from junon.lan.kalrayinc.com (unknown [192.168.37.161]) by srvsmtp.lin.mbt.kalray.eu (Postfix) with ESMTPS id E05CE40317; Mon, 22 Jul 2024 11:43:15 +0200 (CEST) X-Quarantine-ID: X-Secumail-id: <7edc.669e29b4.1b2d3.0> From: ysionneau@kalrayinc.com To: linux-kernel@vger.kernel.org, Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Borne , Julian Vetter , Yann Sionneau Cc: Jules Maselbas , devicetree@vger.kernel.org Subject: [RFC PATCH v3 03/37] dt-bindings: Add binding for kalray,kv3-1-intc Date: Mon, 22 Jul 2024 11:41:14 +0200 Message-ID: <20240722094226.21602-4-ysionneau@kalrayinc.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240722094226.21602-1-ysionneau@kalrayinc.com> References: <20240722094226.21602-1-ysionneau@kalrayinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ALTERMIMEV2_out: done Content-Type: text/plain; charset="utf-8" From: Yann Sionneau Add binding for Kalray kv3-1 core interrupt controller. Co-developed-by: Jules Maselbas Signed-off-by: Jules Maselbas Signed-off-by: Yann Sionneau --- Notes: V2 -> V3: Fixed bindings to adhere to dt schema --- .../kalray,kv3-1-intc.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/= kalray,kv3-1-intc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/kalray,= kv3-1-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/ka= lray,kv3-1-intc.yaml new file mode 100644 index 0000000000000..9c8bb2c8c49dd --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/kalray,kv3-1-i= ntc.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/kalray,kv3-1-intc.= yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kalray kv3-1 Core Interrupt Controller + +maintainers: + - Jonathan Borne + - Julian Vetter + - Yann Sionneau + +description: | + The Kalray Core Interrupt Controller is tightly integrated in each kv3 c= ore + present in the Coolidge SoC. + + It provides the following features: + - 32 independent interrupt sources + - 2-bit configurable priority level + - 2-bit configurable ownership level + +properties: + compatible: + const: kalray,kv3-1-intc + + "#interrupt-cells": + const: 1 + description: + The IRQ number. + + "#address-cells": + const: 0 + + interrupt-controller: true + +additionalProperties: false + +required: + - compatible + - "#interrupt-cells" + - "#address-cells" + - interrupt-controller + +examples: + - | + intc: interrupt-controller { + compatible =3D "kalray,kv3-1-intc"; + #interrupt-cells =3D <1>; + #address-cells =3D <0>; + interrupt-controller; + }; + +... --=20 2.45.2