From nobody Tue Apr 7 21:26:12 2026 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 7AB9A3358DA for ; Wed, 11 Mar 2026 19:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773257107; cv=none; b=W8wCNdB1q6MGgOXmY3AG5sP50dtmmkW6TrxD0EAYm0W1Pg9a/93mNST5IS5sQN5lqN/NoPIB23fSN2UCjj5vw0SNOphotwq4dcqqPfuV0mXHZQFClt9FC0zNUk3C92UBxZ2DwnK2FeI4iw6Lldxne/7DblWw4qITlOZAVMHjoZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773257107; c=relaxed/simple; bh=VpbzE535uXG6AgP5tyiFll4LfhI52aEagCP+X3CBZMQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IjXz63VbM2h5IoYwMry/OzIhNmx8R6xKdIx/+7XBRdpZHOqtRYwns2ggae2ry4FfATTYRm+eJn9A3GEQYruIgqZ1VToekGNVh0bXDxidkO52QLJWHWQEYNR/i04gOrVIOncyK4qKykrzA5554cJTBXiXT49AzNnFwRSshXAWSsE= 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=ZjMeQ8DP; arc=none smtp.client-ip=209.85.221.45 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="ZjMeQ8DP" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-439b9b190easo174602f8f.2 for ; Wed, 11 Mar 2026 12:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773257104; x=1773861904; 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=ibLQ5wY2D6UHG6MJbChHCM8vDme8uvD6Axpd7zdJp8I=; b=ZjMeQ8DPQg8jnM3dYPPu/OxPVKdCt7mIOsWjgjSjjQbZ5A5Q6lAsBmNYAeXI4gnxp5 1M4Zqvp0M9IArBP8s3nXko7d88TamMMZ9C6BXQcfw0xUnFIFnxe2OZAoJ6SdZHvmmBQ1 X81ZqKFptvBVqtpkLPzxGyjiLqRVyolDkZyHujjJyXHq0SDE/ixf7q8dBk9lkQL8JSF8 hwnmoLjfJLsspHScFO+cnXxkKZXKiXJzMZK/fu3ixSJl0TSswBvq6ErIWagoaLht/dWv 1BC9N8fMO9POkMYTFXB38t6fo/NzlnnCIF1GFZTPP09Yxw5RzBi7oWyLIeIUwl2k4iGv 0WYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773257104; x=1773861904; 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=ibLQ5wY2D6UHG6MJbChHCM8vDme8uvD6Axpd7zdJp8I=; b=FX+bQZJEi62CuenDNOCajLLf6b6VBCz5w9d8KMI1nVa73cQWmlwJw3heq0h+06id6d eKofLL2NBMYr2uPB/Zgw8HxEn2eEov+FFlfjrMjmm8pUwzTnvjiZuSrY5EJ6bjO89Zrq w8qYxRn4HXDhLntLLEpv91hbZqgtFQvGbhLGraNAbyDtE9dSFUqkJ+k/Yi9XsOBpZLK2 Hfna6VqbcLX9R83RV+WyD8LnS6g8mPIMH+OP+cyxJW3rm+/VJFTmCaRgAvlCgIzXRJWZ L8eUK8OcRWBGnnx3Cj1zqfPtuUtukfdbPa800VY/oAjtJlegfq49rLZeNEg5whk/qUP1 tTGw== X-Forwarded-Encrypted: i=1; AJvYcCXNa4B6h+9CkTrr8pQTrxMP/Tg/wauVnvWLEXWEFwdBZBhvibrudrWh5/mRUPJ9Zmw9Yw5FiQXKXI+7Wxs=@vger.kernel.org X-Gm-Message-State: AOJu0YxEI8fRARryfuw+MZXu6KB1RC6yKqZTCa3lq6oIugsMAeQmpau3 AGQoxD7pv4ENS8Yf4X4ooSIT76pSkrXQ23F9afbIU0Fkye9mDg/uYytH X-Gm-Gg: ATEYQzzTJkLw9II7E6KO6L/IcC0VRD3OyFMqQFKbFGjHj7JWEMmhrDE5cdIlnaaN5kN 7xIxyXdkzI9Iwl+TVxhx+H85wjioG3vpBe29ITU4uzl4bi+yPWgXyJWNSFZcDSzsOo/yDJndght TYSPT2PhmpFx6v7fK5atWwnCA0/3hgLExMWBtS1lPehurTQbDT/w+smxIp3qynccPB7AnHtdNxu 6LnmMK/w88QSLgnhkGxxb43JnlufKwrXgK+Be7XuiHXZaOfJj4Yo+kCCkcsNhkmMUAf62t7P32j lWLuHcSUJV9eUaDgI9LXGMwALVCaART7BSguoV3fZB675o2tTn8Wgyxurzg1D91CObDPu/mV52X SgEACW6RIlJxabVmoiJAIwpkfBiWEYz13OPNhCtL2jjg2gJ0YPfyarHHztJIKfhny0+zxr3NCjn WIVjUeHHQk5rjL5sDOsuopTdB9Lzcyrz0Sw9IB7dYWnIdBdPpv X-Received: by 2002:a05:6000:2886:b0:439:c202:99a2 with SMTP id ffacd0b85a97d-439f843c98amr7586895f8f.52.1773257103630; Wed, 11 Mar 2026 12:25:03 -0700 (PDT) Received: from localhost.localdomain ([2a00:23c4:a758:8a01:38b7:8ca3:cb55:d344]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe20bd9csm1323210f8f.21.2026.03.11.12.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 12:25:03 -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 v5 02/15] dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Document RZ/G3L SoC Date: Wed, 11 Mar 2026 19:24:33 +0000 Message-ID: <20260311192459.609064-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260311192459.609064-1-biju.das.jz@bp.renesas.com> References: <20260311192459.609064-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 Reviewed-by: Rob Herring (Arm) --- 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