From nobody Tue Apr 7 20:30:24 2026 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AC8642EEDE for ; Fri, 27 Feb 2026 14:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772201005; cv=none; b=MXphsrSz1NssCR1uXmf7lidgRIXB7NR97uqK4Z/596SwWuPxeeaG5fBBn7NNwsrCGaByw6fpjguarr3wRsHan1mjzPH15jqPRpx9FacUwH1TBJIM1QYPGbBZ3VpdKJ+JeWVR34uDUjq3H9KaLQ8sjCKnywzfhaM4/cd9d+3Dls4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772201005; c=relaxed/simple; bh=QUqm//47sqzlR1bPqkDSPBBuMfJfXmjgP9rB2/PFcpo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eyzOkK6xizpdt5SjkLPOiACKwlMAs6r9YOnROkDpbgfh+5Mx3hNtsO4IqNRA4CoNYh+JXRS5GsjePQb+ZbSBQGhqQWToqxWH3g513IZEPtM28pLUBxYam2Bc+SBgl7tcqDAyBoKanBol3IE109POMg0PZHP+xCzqkFUf6eh6mr0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WZacD31R; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WZacD31R" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-48374014a77so23966625e9.3 for ; Fri, 27 Feb 2026 06:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772201001; x=1772805801; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wna275egvqFrPSBNsVOGqQcVdyKY1fzBc45RIdU46c8=; b=WZacD31RtvoAB7QRWqXLi/nKfsIRAuNx8UGtksksve+IdfWK9rFUkOtyx+5NRARZJ1 NM2AfF2PF7ujpOYj3ygIYcZO7cUvJBue2O5XK1xo//XGENTZErmrcBNJL6UNs82WX4pO cf5UPGQXy+7qHDysqmdeCX5wmZwtUUNZ9anQ//Xd7S07/MNa+7+kTsdnI4VczE7mAeTi c5oYwLhw+iUwZGJ8TgC4WUzFLIIjSjKkD49OhxdKA/ksNC2cjUHb4tue/+xF3dlWcV0t 6/Kaw/f2c493eBYRVyqR2p2DSUcvmyRVW5FhcCrn7ksIopM11tvFkCmXACePhUntxaeP IcYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772201001; x=1772805801; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Wna275egvqFrPSBNsVOGqQcVdyKY1fzBc45RIdU46c8=; b=Y9vatmK5ZIG2ScaFnoPK4McTaaWNixZjHO6TQzfQXC6SbgDdui1xOTBaCFNQJ9JA/p 2+2hobc2VUJFwLz4b8ygv0MQy/TIJGFoBjKD+INMAj/9Hg+DPQJcoyZTjCFZt1gyP+9o ET4sbMpJMqLexaQ+rhzsf/jG+YOBzcANy2HOxJaGhM1dZRbsdBKLzrNsP8U9ZoL9kajo PIPJff5qjP3292WzQOci1XDqn0jOFy/iLylEYAu9YkSXiOreeN0ednb6DwQrkcrTZDBP jNAtVgnKKonCnFIMjf1dkUgjFDhchoiINEP91Y+/yaaCw1GS4+BaGbN0ysLQ84A9rkGc NPXQ== X-Forwarded-Encrypted: i=1; AJvYcCXhMlHHA+YqDcDaTOHuWjdf2UsxlGF4IX0s0EqaRxwidbjDK6YEMkUm8f8hCy6RWAeG101I96KiSXNfs94=@vger.kernel.org X-Gm-Message-State: AOJu0Yzs+XYw+bRJiU+zRGdDTvlO4XUIl6CuIv6w/gb+GN9boFZCEsYQ wog1kGaSzUn2SlQZxkY7GkXpX8vmhT9wy7v2CM77mzLt9rJKZcX6Ttt4 X-Gm-Gg: ATEYQzz1+dUdvCcnclC3D4oOyBN1aJR2I0DIs17J9zdXFijzFOpV/y6FMUQk8Jm9v00 TPJ4avFqeP1Gp0HFNJ+vTbO4fEGmIyuQO+fdqigbMjIlQreRnTHRq6RW8t6yecCs5ANU3porde1 1kqcxQzQZjGA76DsD5l6+1AWBUgC6J6x1Pr+2LWmxoqGqbZjAhgnhe4iD1FrUi2+6VFb9P9W4Bs O0ECGl5cYMeIZC4fPoXupBlT13TmOWnGcoMiC3mSx8+qTzGmKpdLJ/dmvD2JjrQJYsrpIVEFO9v AsPmGkRn8pcZVUByHfiPx5CYEzyUlFC9mx07mj8ofUiTRtvOMI3MLiW7nesFhK7IQWZuWf21MYN uY1fgO4+O+4zq8j2obv2aHk+16M8ERz1fqsua6y5y/StmuTf3sRXK4wxnZiKmPCA4FMrqPp9Xhb hZZHGz563gQXdnHqw4/W2Tj2T/VCIBrLc= X-Received: by 2002:a05:600c:3b02:b0:483:6fe1:c057 with SMTP id 5b1f17b1804b1-483c9c02efcmr43428985e9.21.1772201001265; Fri, 27 Feb 2026 06:03:21 -0800 (PST) Received: from biju.lan ([2a00:23c4:a758:8a01:4d8b:fefb:26cf:1906]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4399c60feeesm7658811f8f.1.2026.02.27.06.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 06:03:20 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: Biju Das , Lad Prabhakar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das Subject: [PATCH v4 2/9] dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Document RZ/G3L SoC Date: Fri, 27 Feb 2026 14:03:02 +0000 Message-ID: <20260227140316.308106-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260227140316.308106-1-biju.das.jz@bp.renesas.com> References: <20260227140316.308106-1-biju.das.jz@bp.renesas.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 Content-Type: text/plain; charset="utf-8" From: Biju Das Document RZ/G3L (R9A08G046) IRQC. The IRQC block on the RZ/G3L SoC is nearly identical to that found on the RZ/G3S SoC, with the following differences: it supports more external interrupts and GPT error interrupts, and adds registers for GPT/MTU interrupt selection and shared interrupt selection between external interrupt and TINT. A new compatible string "renesas,r9a08g046-irqc" is therefore introduced for the RZ/G3L SoC. Signed-off-by: Biju Das --- v3->v4: * Updated commit description. v2->v3: [3] * Dropped items and instead used enum for single compatible values * Add minItems for interrupts and interrupt-names properties of=20 the RZ/{G2L,G2UL,Five,V2L} SoCs * Replaced maxItems->minItems for interrupts and interrupt-names properties of the RZ/G3L SoC. v1->v2: [2] * Simplified the binding using pattern [3] https://lore.kernel.org/all/20260204180632.249139-3-biju.das.jz@bp.rene= sas.com/ [2] https://lore.kernel.org/all/20260206111658.231934-3-biju.das.jz@bp.rene= sas.com/ [1]https://lore.kernel.org/all/20260204142320.103184-2-biju.das.jz@bp.renes= as.com/ --- .../renesas,rzg2l-irqc.yaml | 43 ++++++++++++++++--- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas= ,rzg2l-irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/r= enesas,rzg2l-irqc.yaml index a0b57d808639..3a221e1800a0 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-= irqc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-= irqc.yaml @@ -30,7 +30,9 @@ properties: - renesas,r9a08g045-irqc # RZ/G3S - const: renesas,rzg2l-irqc =20 - - const: renesas,r9a07g043f-irqc # RZ/Five + - enum: + - renesas,r9a07g043f-irqc # RZ/Five + - renesas,r9a08g046-irqc # RZ/G3L =20 '#interrupt-cells': description: The first cell should contain a macro RZG2L_{NMI,IRQX} in= cluded in the @@ -48,17 +50,17 @@ properties: =20 interrupts: minItems: 45 - maxItems: 48 + maxItems: 61 =20 interrupt-names: minItems: 45 - maxItems: 48 + maxItems: 61 items: oneOf: - description: NMI interrupt const: nmi - description: External IRQ interrupt - pattern: '^irq([0-7])$' + pattern: '^irq([0-9]|1[0-5])$' - description: GPIO interrupt pattern: '^tint([0-9]|1[0-9]|2[0-9]|3[0-1])$' - description: Bus error interrupt @@ -75,6 +77,8 @@ properties: const: ec7tie2-1 - description: ECCRAM1 error overflow interrupt const: ec7tiovf-1 + - description: Integrated GPT Error interrupt + pattern: '^ovfunf([0-7])$' =20 clocks: maxItems: 2 @@ -106,6 +110,24 @@ required: allOf: - $ref: /schemas/interrupt-controller.yaml# =20 + - if: + properties: + compatible: + contains: + enum: + - renesas,r9a07g043f-irqc + - renesas,r9a07g043u-irqc + - renesas,r9a07g044-irqc + - renesas,r9a07g054-irqc + then: + properties: + interrupts: + minItems: 48 + maxItems: 48 + interrupt-names: + minItems: 48 + maxItems: 48 + - if: properties: compatible: @@ -118,12 +140,19 @@ allOf: maxItems: 45 interrupt-names: maxItems: 45 - else: + + - if: + properties: + compatible: + contains: + enum: + - renesas,r9a08g046-irqc + then: properties: interrupts: - minItems: 48 + minItems: 61 interrupt-names: - minItems: 48 + minItems: 61 =20 unevaluatedProperties: false =20 --=20 2.43.0