From nobody Sun Sep 14 16:30:00 2025 Received: from smtpout42.security-mail.net (smtpout42.security-mail.net [85.31.212.42]) (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 24B4C16C871 for ; Mon, 22 Jul 2024 09:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.31.212.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721641505; cv=none; b=gvz9Ms4geW0z4lqQgYAKcAx5ViMyV1O+l+7bnlFif0gAoT0GADqkjfxs3j99d+B/AcN0VImBOY9ZvT9OgATHDvzpVbCKaPKQEaNLzV4REBWuBdhFy6drEYGOMu0OH2aFniroflb1yLwXywA883oFNNcLdsun2QI+LuOnqchnTOo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721641505; c=relaxed/simple; bh=7jQH1IAsbXXXmxjL2scAVo9a1/FDM4Dwc1U0HJ1/ZqU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=en6ezxtCo53xyYfKWECedKrK64xh3cutludpU/yCuEaj4O1lthWah9qBRme4SoGoTegoAkeKJLBQrE1kb5xusfglW2U99nbRxwmC8NnyJ7chOrMu97D0tvhL+UQdTBSl8kfwyBVfwlgP25IdUtN4NoWz/ap5b0ROEBTxlmb7ZWg= 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=P2opam/0; arc=none smtp.client-ip=85.31.212.42 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="P2opam/0" Received: from localhost (localhost [127.0.0.1]) by fx302.security-mail.net (Postfix) with ESMTP id 9EC9580B0C2 for ; Mon, 22 Jul 2024 11:43:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kalrayinc.com; s=sec-sig-email; t=1721641398; bh=7jQH1IAsbXXXmxjL2scAVo9a1/FDM4Dwc1U0HJ1/ZqU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=P2opam/0AOzVqFW6nbUXtEYgCtfR34dcTiI/d2j9gnoQDoMlWNjiip/PiBacmYjNX SZWBuygmxbg2sdYwAT7mORGALdGfYFWjaYX54E84FCMi1+lAVgF+XBXeUyefIH92b+ n3s9BQtAkossWcAOxD0C4r1lmbF/XKVgZuSPE3VQ= Received: from fx302 (localhost [127.0.0.1]) by fx302.security-mail.net (Postfix) with ESMTP id 7575F80AA51; Mon, 22 Jul 2024 11:43:18 +0200 (CEST) Received: from srvsmtp.lin.mbt.kalray.eu (unknown [217.181.231.53]) by fx302.security-mail.net (Postfix) with ESMTPS id EB2A480AD43; Mon, 22 Jul 2024 11:43:17 +0200 (CEST) Received: from junon.lan.kalrayinc.com (unknown [192.168.37.161]) by srvsmtp.lin.mbt.kalray.eu (Postfix) with ESMTPS id BDE1F40317; Mon, 22 Jul 2024 11:43:17 +0200 (CEST) X-Quarantine-ID: X-Secumail-id: 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 07/37] dt-bindings: Add binding for kalray,coolidge-ipi-ctrl Date: Mon, 22 Jul 2024 11:41:18 +0200 Message-ID: <20240722094226.21602-8-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 Coolidge IPI 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 - moved to interrupt-controller directory, like the related driver --- .../kalray,coolidge-ipi-ctrl.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/= kalray,coolidge-ipi-ctrl.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/kalray,= coolidge-ipi-ctrl.yaml b/Documentation/devicetree/bindings/interrupt-contro= ller/kalray,coolidge-ipi-ctrl.yaml new file mode 100644 index 0000000000000..91e3afe4f1ca5 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/kalray,coolidg= e-ipi-ctrl.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/kalray,coolidge-ip= i-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kalray Coolidge SoC Inter-Processor Interrupt Controller (IPI) + +maintainers: + - Jonathan Borne + - Julian Vetter + - Yann Sionneau + +description: | + The Inter-Processor Interrupt Controller (IPI) provides a fast synchroni= zation + mechanism to the software. It exposes eight independent set of registers= that + can be use to notify each processor in the cluster. + A set of registers contains two 32-bit registers: + - 17-bit interrupt control, one bit per core, raise an interrupt on wr= ite + - 17-bit mask, one per core, to enable interrupts + + Bit at offsets 0 to 15 selects cores in the cluster, respectively PE0 to= PE15, + while bit at offset 16 is for the cluster Resource Manager (RM) core. + + The eight output interrupts are connected to each processor core interru= pt + controller (intc). + +properties: + compatible: + const: kalray,coolidge-ipi-ctrl + + reg: + maxItems: 1 + + interrupts-extended: + maxItems: 16 + description: | + Specifies the interrupt line the IPI controller will raise on the co= re INTC. + + interrupt-controller: true + + '#interrupt-cells': + const: 0 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts-extended + - interrupt-controller + - '#interrupt-cells' + +examples: + - | + ipi: inter-processor-interrupt@ad0000 { + compatible =3D "kalray,coolidge-ipi-ctrl"; + reg =3D <0x00 0xad0000 0x00 0x1000>; + #interrupt-cells =3D <0>; + interrupt-controller; + interrupts-extended =3D <&core_intc0 24>, + <&core_intc1 24>, + <&core_intc2 24>, + <&core_intc3 24>, + <&core_intc4 24>, + <&core_intc5 24>, + <&core_intc6 24>, + <&core_intc7 24>, + <&core_intc8 24>, + <&core_intc9 24>, + <&core_intc10 24>, + <&core_intc11 24>, + <&core_intc12 24>, + <&core_intc13 24>, + <&core_intc14 24>, + <&core_intc15 24>; + }; + +... --=20 2.45.2