From nobody Tue Dec 2 01:51:06 2025 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E23D2337BB4; Fri, 21 Nov 2025 11:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763724463; cv=none; b=jxbV+bpKXdFCFWsssA1f/ddFAVBd3sTQI3w5Er+PuqiXqXSufOfBjKNYD/kHMve/2O7c7YG3b5Tar2mvWe3CdQkbT7RT8lZXalJJQJF3NQZeH3ONqVVKbL2SzNBDebALR4HdAIF37E/csuPc/g8v2SSZ5qosytcQDbNTdFWEzCY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763724463; c=relaxed/simple; bh=1Sb5tw0IuFCjN2pLAP/BYjKzrxNBpxLRvvBN92cnuOc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IKigFYcmHgM+gZbRoWrzzGjx+AHiGzkN5yT2bbTkyQ7kEasHI7p/drRSZPrRMkzUgdkj3yMTEay6q4cv4ex7cH8hYNPCeJHP1IOahTj+nkRbgbfsfTXC/e5IoU/9Lx90spgDR0elwqulkhPTjq5FTgI8HnPQuWlpipjp/CxlnlM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: iwVYaHpRS5efIPTyHl+BmQ== X-CSE-MsgGUID: 2Flla5V7TBG83a5t3hqGvg== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 21 Nov 2025 20:27:30 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.224]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 65694437C1A1; Fri, 21 Nov 2025 20:27:26 +0900 (JST) From: Cosmin Tanislav To: Geert Uytterhoeven , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Lad Prabhakar Cc: linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmin Tanislav Subject: [PATCH 3/8] dt-bindings: pinctrl: renesas,r9a09g077-pinctrl: Document GPIO IRQ Date: Fri, 21 Nov 2025 13:26:21 +0200 Message-ID: <20251121112626.1395565-4-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251121112626.1395565-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20251121112626.1395565-1-cosmin-gabriel.tanislav.xa@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" The Renesas RZ/T2H (R9A09G077) and Renesas RZ/N2H (R9A09G087) SoCs have IRQ-capable pins handled by the ICU, which forwards them to the GIC. The ICU supports 16 IRQ lines, the pins map to these lines arbitrarily, and the mapping is not configurable. Document the required properties to handle GPIO IRQ. Signed-off-by: Cosmin Tanislav --- .../pinctrl/renesas,r9a09g077-pinctrl.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/renesas,r9a09g077-pi= nctrl.yaml b/Documentation/devicetree/bindings/pinctrl/renesas,r9a09g077-pi= nctrl.yaml index 36d665971484..1e171b443da1 100644 --- a/Documentation/devicetree/bindings/pinctrl/renesas,r9a09g077-pinctrl.y= aml +++ b/Documentation/devicetree/bindings/pinctrl/renesas,r9a09g077-pinctrl.y= aml @@ -49,6 +49,17 @@ properties: gpio-ranges: maxItems: 1 =20 + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell contains the global GPIO port index, constructed usin= g the + RZT2H_GPIO() helper macro from + and the second cell is used to specify the flag. + E.g. "interrupts =3D ;" if P= 08_6 is + being used as an interrupt. + clocks: maxItems: 1 =20 @@ -119,6 +130,8 @@ required: - gpio-controller - '#gpio-cells' - gpio-ranges + - interrupt-controller + - '#interrupt-cells' - clocks - power-domains =20 @@ -139,6 +152,8 @@ examples: gpio-controller; #gpio-cells =3D <2>; gpio-ranges =3D <&pinctrl 0 0 288>; + interrupt-controller; + #interrupt-cells =3D <2>; power-domains =3D <&cpg>; =20 serial0-pins { --=20 2.52.0