From nobody Sat Apr 4 01:51:13 2026 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 3471E36C59E for ; Sun, 22 Mar 2026 12:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774182269; cv=none; b=ned8FTI0rKCo4v59VItUwfOUn94mu8LNtqzSNstm1cFIhCwX/lAT4kMwYy49PGuVtUgN8HdKPRo467gg1gLvHcXCjkAtxNAW/I6oyOSuCmxSn/rRvi6ZT7hsXlmMKr9zt2xnlcBr4Vr4o1y576TfEoHVUoAw5Ui+byeBb7nrQ3M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774182269; c=relaxed/simple; bh=NqL++QS6pCKA8dKHUyiOCiT56oWQTwHXVPj7oO5XapU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M1i4MQWFJ2x4h0PhRzwzI2lQQoFwLZe3oCVH9HW7hW9eCh8fRl7gdd7S8V6ifw2nKKVwFEsAF5eP6m0M6Yn1Vf8G/QbjmEwOr4fQ8ArNis7EKy5FkUj/0yra5UGTVoi1JTY8KFEvRBAhn1+aO6E+Pm3n5Q3QBjZJWhZ3B1N4TUY= 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=h4ERTGXE; arc=none smtp.client-ip=209.85.221.48 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="h4ERTGXE" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-439d8dc4ae4so2892346f8f.2 for ; Sun, 22 Mar 2026 05:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1774182266; x=1774787066; 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=gap/Q33IiQRtCOD/Ll2fknn9+W00XJGVBJHUg+QgTgw=; b=h4ERTGXEIZPYXgyqjMFNER4XF8Keqj/N/KzJDNLUta5zQK0Q4qWTXLyd24hbeILYLJ 4MTQp1YLkMtPp+hua0Uh5LiCroI5ghfCGoxVUUMhBJFJWVOLehsYHy9a5316qL2S6F5Z JnwwffMfSDMUHhfwdlupCXZM+VJ/xdIV28ha479sSwVUqerC2y3axiIMHtbiIKUm99ol wq+6LK6ctPQh2cE0HZzPC17wc5nZ4547ppAeANL0p9reqMbgyWUjwPKQjVQg+5Njy7oY Q04XO2aJdDJ3OUls25iltby6Oumi1GFUC5kL8Qj/dgQCTLOLvWI4n2Z69iWxPD4/bGl6 qxww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774182266; x=1774787066; 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=gap/Q33IiQRtCOD/Ll2fknn9+W00XJGVBJHUg+QgTgw=; b=j7Vt98d2tHfcw9CngEdGIxCt63E0Gg5XDj6J0eU8Y0Qp17h2K35yY+zOtwkdMvdwY0 v6FHHn0HSrbAfXkRwoiClzVDelC5zYoVS9ul1tB8B6SDjn9wJ0udbfP8td2fcxPb0bXw 7w96Psn1xSeYsOGWAaNk8ECmPu1U8zqZEMfzoPHOE2LXPgridNRvK0d95KbP7S2WCCFe TIJ/Eu55ue5Dn6J7Ebttd5TYvtzBNN090l+hbwr45/hmUJKmZSYN4w4HrvIbU/xcaF/B NEorcG22+iriBMQJOfIHGpCsLImC9O2N7C2OgRq9lUP6/xA+R86dM06kuKTmdu19jvRx 7QyA== X-Forwarded-Encrypted: i=1; AJvYcCVeP+nwwKml8sn9avd4NbzR1HiCrFXVr75/iWN1FQ0eQlB1GOeEsCMc11PvOSYIVtC9Xo46C/8YB40onmU=@vger.kernel.org X-Gm-Message-State: AOJu0YxoeJ3evfmtHUU47vSc5i92ahaSTVfhA5vFU7k/o63B/itxZRap b2wIV5/uecLTYr83vIF4AObCGFXYebHqoPnDejiYndRTIHUSRizA0ke/ X-Gm-Gg: ATEYQzzCss1VLgH8oBf7d3ujG4ht3rC/sxGHmdMfa2sWmDss8Yq+0F6m52KMiCHyFjz MfKbb3ejFbdaqkVt1s+oVkkmqmmmbkQZMnHMMkzHTXlvssFQgLKNry7CmWw+eR7KKNrNnaAFLZf PTJcWfq08a9lbgWY4W14MjYtMT2HgjWXi0dmxcOqiC1DxpZQ/FoyueN3m/rb1GhEYnRKhudgeVd PwAq454QlrD6KtU3IHdhrVxRX6pWuy/T82Lsu+kbxk7pRETSHkw8PMTjes3PkUCGgPEfI0TNXy6 vg3eEKkSnTyIN9AjvJJTm6QFOvdYLNYBOen36AKixwYdINu17ykhR1ut1lE962rvxZR4XSUTaD+ zr6u4o3zg8eyAKDoK3U5E+4v8SL7a9ioQyvrloo/55FqANzq0siUs9d+zr2rxarR6GtBtAo4BE2 1ECOILYm+DITpOiAHASN7tUWYsaalaiZ9lN+QmjJQlZyRETWiT X-Received: by 2002:a05:6000:24ca:b0:43b:45da:f296 with SMTP id ffacd0b85a97d-43b6423286fmr13975167f8f.11.1774182266443; Sun, 22 Mar 2026 05:24:26 -0700 (PDT) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:1bdc:7f84:18bc:1e56]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b64703343sm21072695f8f.19.2026.03.22.05.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2026 05:24:25 -0700 (PDT) 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 v6 02/15] dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Document RZ/G3L SoC Date: Sun, 22 Mar 2026 12:23:45 +0000 Message-ID: <20260322122421.132474-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260322122421.132474-1-biju.das.jz@bp.renesas.com> References: <20260322122421.132474-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. Reviewed-by: Rob Herring (Arm) Signed-off-by: Biju Das --- v5->v6: * Collected tag. v4->v5: * No change. v3->v4: [4] * 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 [4] https://lore.kernel.org/all/20260227140316.308106-3-biju.das.jz@bp.rene= sas.com/ [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