From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8495606A320 for ; Tue, 1 Dec 2026 17:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bhYOqddC; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HpTED/02 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Cc:To:In-Reply-To:References:Message-Id: Content-Type:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=a0MVAFHUONNqQFaqjp8ysyouGNm+s+7IiasfEGAyj5s=; b=bhYOqddCThQRs9i3mgyZrIyzTQ Z8uMV3bPTP9uk1Vk5QV0WVshn4dVkZJ6f3SNRSPTm3sif8OS67sue8Go0YLz7cV4wXHTs2L++XqMK 0tjEqEJhmcTGG9XFhDvpok8KxLpnidg+l5kmCvBlD7wZiEGFTOGuV36MlGFwaFv8nXZQ0q0819nq4 QcIZ8q2Jzlg+R9TtzN0IHim+5pysaj9QLwsz83blmYng4y4JM17VTRzdUNdkcSTAQR35MkOaE5Pnv d8yXwOpvIf815wCXgtRBR07Uy50ATb3bAUDm/WjZCVTzdk/dcyip0LIsVNqs06oEIGg3MIxze7xHE i4Nmyvxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYQmM-00000008jaA-3zzo; Tue, 01 Dec 2026 16:32:30 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYQmL-00000008jZo-2C9L for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 16:32:29 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 88049620B4; Tue, 1 Dec 2026 16:32:28 +0000 (UTC) Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796142748; b=V0eNzeYP0l0iUckene36ZO4mijz+Uldxou/nZoPfEFfX2057qZVL4ZMt2BAHMixuB1rU HbKexArMbccIMOn40NjmtqFUQbXJ83KwP18QE4nNhqKe30x8ji5Gru8P6EbqX7RUjjkF1 Z10D8ouxnSTWrpAwi2YNq1gLJsGyFBjglmmEwMPlpfJHyeDD2JIE8ovkKc9xhA1U66RA9 ffn1Tp2R+Up932iZByJ+yDkg2Vvuo+oN/a+wZ2f77faf9x+uIcnxdmKgjCWQDjtvBusux IeNfhM4exb8A0lv7NHVNUWo19x5yWoblsg9gnYz659+i7I408ChhwrI1gy2VxI75qjQ== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796142748; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=a0MVAFHUONNqQFaqjp8ysyouGNm+s+7IiasfEGAyj5s=; b=hPso1pFuQyZEfuO0sC7+Cf7Xr+QT8h+aBllPbg8W7qwsf2lkbnneyMVj9+O93bnNKkng OKdTarSnCW/EcYmsn1KI58eWB3+duf2KKrep7I40Shu+RD8dpmY50vQM0S5el3jpp7l0q LTnFhUNGD92UCmC2EUH+lZMu5Jyoh3Nre7NUN8lFDvWfvpBBDf8ft9z0fJDELGGSapba0 ntRzh4aCKr9p3kNhpNa6UY1e8gpDfOhwyRnOiyney/0ooEkOYpdhG7f6antotbwY1T+TZ ut9OGoScMrQRqQQYTLhpDdvMitFjnIMweqeYLOh4ClTbfQDK7K2u6YAhTWmM/R/Iyow== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 9C2511F00897; Tue, 1 Dec 2026 16:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796142748; bh=a0MVAFHUONNqQFaqjp8ysyouGNm+s+7IiasfEGAyj5s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=HpTED/02vlROVTgvSgyhNiuSLgvfBWHY++sVUcBWU4n3leUrAWczCkqGYWBg96K90 GPZPO1fGKvz/Ug32ttqiyKia414ZfYUt8DRKAFSkTLHpzqI7RD2jgJDD9IaOGP0pQt koakZfrnjjMIgvGRhSXQUv7xwpb/hG27Km5/AmqQYuXgf5dgadg94pUG540R+NiFRr 6oas1wSVEnNkrB8m573703TwzMkrQjJbgWJ+QhMu2/v3MvTq12/gUwmRd4Mdyu3Kf5 /eXmfPuMWPphFtXVje88VY4g/i89sUwECGnlKtobEwc5vt+ieBgeWqYNfLby+CObCg 2XGRZurxwT61g== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 213E34EEB0; Tue, 1 Dec 2026 16:32:27 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Tue, 01 Dec 2026 19:32:26 +0300 Subject: [PATCH v6 1/2] dt-bindings: interrupt-controller: Add Cortina Systems CS7542 peripheral interrupt controller X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20261201-cs75xx-intc-v6-1-bcd0a80afd62@gmail.com> References: <20261201-cs75xx-intc-v6-0-bcd0a80afd62@gmail.com> In-Reply-To: <20261201-cs75xx-intc-v6-0-bcd0a80afd62@gmail.com> To: Thomas Gleixner , Radu Rendec , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796142745; l=2391; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=jD8hrhg8hRRxc3PKTmHsPeFKxEokD4uGAIkAKwH8FAU=; b=ovSyoiFpA1eKxWveJJMmQ4fLAe8vvRsx8+oj79jjej26DGUCr3nmGHnNckKYunjlMcL81yC2G H7u/IovrhOVCVAB1QZuEvRzF65NXwaXqDLMHGgQ/wpXbYQ+kQTgadnu X-Developer-Key: i=filipp.dunsky@gmail.com; a=ed25519; pk=JAYP8e2rJ54DHOmhNtXud8rl1igAaAXoOHxtJmVXI1g= X-Endpoint-Received: by B4 Relay for filipp.dunsky@gmail.com/20260930 with auth_id=1085 X-Original-From: Fil Dunsky Content-Transfer-Encoding: 7bit X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: filipp.dunsky@gmail.com Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Fil Dunsky The low speed peripherals of the Cortina Systems CS75xx SoCs share one GIC interrupt. A small controller in the peripheral register block reports which of its 15 sources are asserted and allows masking them. Reviewed-by: Rob Herring (Arm) Signed-off-by: Fil Dunsky --- .../interrupt-controller/cortina,cs7542-intc.yaml | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml new file mode 100644 index 0000000000..2963acaf7d --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/cortina,cs7542-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cortina Systems CS7542 peripheral interrupt controller + +maintainers: + - Fil Dunsky + +description: + The low speed peripherals of the Cortina Systems CS75xx (Goldengate G2) + SoCs (two software interrupts, two timers, the AXI bridge, SPI, the five + GPIO banks, I2C, MDIO, SSP and the random number generator) share one GIC + interrupt. This controller has a status register showing the level of the + 15 sources and an enable register to mask them. The sources are cleared in + the peripherals themselves. + +properties: + compatible: + const: cortina,cs7542-intc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + description: + The number of the source, 0 to 14. All sources are active high level + interrupts. + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + + interrupt-controller@f0070004 { + compatible = "cortina,cs7542-intc"; + reg = <0xf0070004 0x8>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; -- 2.53.0