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 1262F16CD33 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=1721641511; cv=none; b=PNMRGTzZsT2OvTeNHsZCE6h5PA9ZPWHni9fR7P3fMLgzJ7Z/gkOBzERQRuob9cPz0RsGO2RXFTUWCXRQzlAetODchN28WYzkDM6dtDWVLe7eKNEJWowVIRTqwOuXP0ZPrm4JkXgkq3nBnKaPoOGvcSPoPNi2D3kNQ1hiInO6U4c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721641511; c=relaxed/simple; bh=F4Ckw+wQ+B9Cs3b3OLCJtfGqDkXrq2CumL7xBdOz9ZQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OmSWmdlNlIw2JDTfkAWjtM/JOJhTFYjUjuoywI0FsjjAdydIySp/D78/9PmKwY4Y0WKb0YbVWccsfF08ADatracA7PyzEMvBRJMTUGF56LRPygp0NGlN6TJ8ti7E3h1pRa553HQu8szY1QtJjJ7FSow8+doC07gi79srsZ3mDxg= 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=W4sT0RvZ; 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="W4sT0RvZ" Received: from localhost (fx408.security-mail.net [127.0.0.1]) by fx408.security-mail.net (Postfix) with ESMTP id 38E3C3225ED 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=F4Ckw+wQ+B9Cs3b3OLCJtfGqDkXrq2CumL7xBdOz9ZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=W4sT0RvZo8fpiP16Ag4kfqghesHbbACn2GH9TsXjiesrrH5AappJzuNtUqqWqwI1F TGgj8ifQR+Cwb0lbU4PWhxxE1TymUWD17Er7bY5EvOVTvga1YRzaUlIMheofH0+sC5 uvfXpWtQG8jPA71c0+okZPc7DQiFrSRhEZzEqA2s= Received: from fx408 (fx408.security-mail.net [127.0.0.1]) by fx408.security-mail.net (Postfix) with ESMTP id 1094432259D; Mon, 22 Jul 2024 11:43:18 +0200 (CEST) Received: from srvsmtp.lin.mbt.kalray.eu (unknown [217.181.231.53]) by fx408.security-mail.net (Postfix) with ESMTPS id 7A0B3322398; 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 4B91440317; Mon, 22 Jul 2024 11:43:17 +0200 (CEST) X-Quarantine-ID: X-Secumail-id: <12a7a.669e29b5.780ab.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 06/37] dt-bindings: Add binding for kalray,coolidge-itgen Date: Mon, 22 Jul 2024 11:41:17 +0200 Message-ID: <20240722094226.21602-7-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 Interrupt Generator. 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,coolidge-itgen.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/= kalray,coolidge-itgen.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/kalray,= coolidge-itgen.yaml b/Documentation/devicetree/bindings/interrupt-controlle= r/kalray,coolidge-itgen.yaml new file mode 100644 index 0000000000000..222cacb5cbea4 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/kalray,coolidg= e-itgen.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/kalray,coolidge-it= gen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kalray Coolidge SoC Interrupt Generator (ITGEN) + +maintainers: + - Jonathan Borne + - Julian Vetter + - Yann Sionneau + +description: | + The Interrupt Generator (ITGEN) is an interrupt controller block. + It's purpose is to convert IRQ lines coming from SoC peripherals into wr= ites + on the AXI bus. The ITGEN intended purpose is to write into the APIC mai= lboxes. + +properties: + compatible: + const: kalray,coolidge-itgen + + reg: + maxItems: 1 + + "#interrupt-cells": + const: 2 + description: | + - 1st cell is for the IRQ number + - 2nd cell is for the trigger type as defined dt-bindings/interrupt-= controller/irq.h + + interrupt-controller: true + + msi-parent: true + +additionalProperties: false + +required: + - compatible + - reg + - "#interrupt-cells" + - interrupt-controller + - msi-parent + +examples: + - | + itgen: interrupt-controller@27000000 { + compatible =3D "kalray,coolidge-itgen"; + reg =3D <0 0x27000000 0 0x1104>; + #interrupt-cells =3D <2>; + interrupt-controller; + msi-parent =3D <&apic_mailbox>; + }; + +... --=20 2.45.2