From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 19D57481256; Tue, 13 Oct 2026 03:47:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791863221; cv=none; b=WcWbBfh74vtvI6EAetQhgT/ZfSlK3xecCqGDjZn/Cebkr/gpvKes0qBGV00NBDwhwF0YRwB/M8y9OrEFwb2s3zS7Y+c1CE4//Ualvs36398MQaT+6EV0MD9rIfm0w80SNJc6PtsWuUxqjRyz+80Xs1rftpftKQVLsHiYz1U9waU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791863221; c=relaxed/simple; bh=Zzzint5ECeIvn557DthDmutEppVqwPr3W2qzFUq9hXQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DRqAvUC7lbFlUvCvpYFmHVduMgy+zx9VRA34HvVoGNeNJmSLCqnYt0bWChzhtGMMgdgzGdv1hqOocFEjhw2VKL7Ythl4kpkwDity8kpIULWdxPix+NlTSORAcTeXMfdqd9jxgeNAAsVXQEU+uz0l8M30SRoDt+IvcC6WHw3NMHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eIkSqH1O; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eIkSqH1O" Received: by smtp.kernel.org (Postfix) with ESMTPS id A833BC2BCF7; Tue, 13 Oct 2026 03:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791863220; bh=Zzzint5ECeIvn557DthDmutEppVqwPr3W2qzFUq9hXQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=eIkSqH1O26bFJDVQh4P2VhkXy7yKBFZF4uXOSXZK2sjPkvD1AIasgQi3XmpTLCwQe w76iweJf9bZDSFsQm9zoLKFWOwt8ph4/7+hOi2yHmW2KYvtq14uto7N+1p+w5CXdaO RSt03AY9Vj88tCcPDZtrtMDsH/6YLX8pnWwPlaL34XfuKF07AMvZ1WSnLB20/Rgeeh X6ydtNno1FXaiLrTiPgrxgb5f8H3pj/LuVbUMnQg+gK00IjZjR/eCAVzdA/BltpSER Dr78y/GQa9BYUh8W2p/A5P/OCzswA6GhgDjF65SMGEAAfeWb/IUTgKEBbTu1ZhTq7O UaRClMhR/rCBw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94CCDCA9ED0; Tue, 13 Oct 2026 03:47:00 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Tue, 13 Oct 2026 06:46:59 +0300 Subject: [PATCH v2 01/11] dt-bindings: interrupt-controller: Add Cortina Systems CS7542 peripheral interrupt controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261013-b4-cs75xx-s2-v2-1-94f8c0a90cda@gmail.com> References: <20261013-b4-cs75xx-s2-v2-0-94f8c0a90cda@gmail.com> In-Reply-To: <20261013-b4-cs75xx-s2-v2-0-94f8c0a90cda@gmail.com> To: Thomas Gleixner , Radu Rendec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Andi Shyti , Wim Van Sebroeck , Guenter Roeck , Russell King , Arnd Bergmann , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-watchdog@vger.kernel.org, Fil Dunsky X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791863218; l=2339; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=A+5dV3NaQB/TuZqJfC9IFKI7zbkGEtJkk6VbEFbSsyk=; b=DtmH/MGuRB0CqyYhg9Ep8NmzyHIrk2UCkbT+GSe8sOMBVJpMxJHcNluztkULegRn0iQnDFdk7 8RzlGi1ev5LAeD9ujojQUWK4kyCjXIuwegT57Bt+zB2V+8aW/tcqfDc 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 Reply-To: filipp.dunsky@gmail.com 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. 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 000000000..2963acaf7 --- /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