From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E519527380A; Thu, 11 Jun 2026 17:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781199567; cv=none; b=CCsexsc614zwlOO0TupWQ+cJ5T7JwVPD4l2rO/gJnidDIUdK1TyxIrLFmC6QmfUWp6RW+UjuVP3Q8NiEBllT01MCvPAyjfB+UX6MWPdlumRXydGb5UJoCFHrkVhLIr2yBnGz0fC54/APtOiqF59n5dLHzH/RoU38+cRjKi2RxZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781199567; c=relaxed/simple; bh=FMNsqxa5yfbSDypz5Gq4f5IE6X4crxLSQ+REFu3hw14=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bQWMBFgpGNPXYIWkJeVifcGhm+/n6oaJlKyraEW28VIgPnCSTOE0x5HR+LNI3DePS/kFHSpljHLGDAySgPeh8l8fc5SMLOadsFJJupvjtLjVwEbKI0hx9MLCADpqniYjYTQweQu5JQPl9U39rvcy+8RCyJ/+v9Wh75fWD6Y+Qtg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Tgf95f7o; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Tgf95f7o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCB501F00898; Thu, 11 Jun 2026 17:39:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781199564; bh=zecCFZ8Srn7GiJ4aEDliOVYKyOCo+jfQkMceICQfEXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Tgf95f7oTSS3MaNiLsaHbRgvzIf0S9ca7hX2UT6P0d9HTH1KyIQsLIUwZ0uB4A3dR K3rAOgo8Omp6Mi8GyxItsEKwz7uQOgF2gODKWfHyKhTsgxjj5eNzj2WSI355eSWmuA 4wkoA90TjXf+w3IF6Lwn2bitk2TpIydg00SuG71SK6dkf6peyXQM32ZnYg2azcJQTA uknqvGfXCPZZiEU3nJdGYf9tSEuJVLHXVEMmGEMe32+UrER386OdKZs69GtyH1c364 qAOIhSdrAsUsVvyRuBGM378Y5/NxdN1CztJ9G0P0axYmXOLyURJQzck/KrKXR0RT2d WmZ8QInRUgAsw== Date: Thu, 11 Jun 2026 18:39:19 +0100 From: Conor Dooley To: xianwei.zhao@amlogic.com Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RFC 1/2] dt-bindings: pinctl: amlogic,pinctrl-a4: Add gpio irq property Message-ID: <20260611-ungloved-snowplow-522e7c0b7a51@spud> References: <20260611-gpio-to-irq-v1-0-12201716f23f@amlogic.com> <20260611-gpio-to-irq-v1-1-12201716f23f@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VEw7ILEoyX+SpPI8" Content-Disposition: inline In-Reply-To: <20260611-gpio-to-irq-v1-1-12201716f23f@amlogic.com> --VEw7ILEoyX+SpPI8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2026 at 07:54:33AM +0000, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao >=20 > Add the hw-irq property for each GPIO bank and enable interrupt-parent > for pinctrl so that gpiod_to_irq() can translate GPIO lines to IRQs. Uhhhhh, what? Why can't you just use the normal interrupts property? >=20 > Signed-off-by: Xianwei Zhao > --- > Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4.yaml | 5 ++= +++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4= =2Eyaml b/Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4.yaml > index b69db1b95345..65ec9121300e 100644 > --- a/Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4.yaml > @@ -37,6 +37,8 @@ properties: > =20 > ranges: true > =20 > + interrupt-parent: true > + > patternProperties: > "^gpio@[0-9a-f]+$": > type: object > @@ -65,6 +67,9 @@ patternProperties: > gpio-ranges: > maxItems: 1 > =20 > + hw-irq: > + $ref: /schemas/types.yaml#/definitions/uint32 > + > required: > - reg > - reg-names >=20 > --=20 > 2.52.0 >=20 >=20 --VEw7ILEoyX+SpPI8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCairyxwAKCRB4tDGHoIJi 0m/hAQCp/1LdXn73XJ882JgpI44MDQ6+BcDG0bj2pr1l/UPp1gEAgr7myM1tdKUn TGrp5V8PbizLw4otN8AaIarajA+ocwM= =e3OE -----END PGP SIGNATURE----- --VEw7ILEoyX+SpPI8--