[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e5a5dd9b-475b-4c66-a580-08f11a80e5a3@foss.st.com>
Date: Mon, 10 Mar 2025 11:48:36 +0100
From: Alexandre TORGUE <alexandre.torgue@...s.st.com>
To: Dario Binacchi <dario.binacchi@...rulasolutions.com>,
<linux-kernel@...r.kernel.org>
CC: <linux-amarula@...rulasolutions.com>, Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Maxime Coquelin
<mcoquelin.stm32@...il.com>,
Rob Herring <robh@...nel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-stm32@...md-mailman.stormreply.com>
Subject: Re: [PATCH] ARM: dts: stm32: use IRQ_TYPE_EDGE_FALLING on
stm32mp157c-dk2
Hi Dario
On 3/1/25 12:51, Dario Binacchi wrote:
> Replace the number 2 with the appropriate numerical constant defined in
> dt-bindings/interrupt-controller/irq.h.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
>
> ---
>
> arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
> index 5f9c0160a9c4..dcf17c493022 100644
> --- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
> +++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
> @@ -11,6 +11,7 @@
> #include "stm32mp15-pinctrl.dtsi"
> #include "stm32mp15xxac-pinctrl.dtsi"
> #include "stm32mp15xx-dkx.dtsi"
> +#include <dt-bindings/interrupt-controller/irq.h>
really needed ? as it comes also with
dt-bindings/interrupt-controller/arm-gic.h
> / {
> model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
> @@ -67,7 +68,7 @@ &i2c1 {
> touchscreen@38 {
> compatible = "focaltech,ft6236";
> reg = <0x38>;
> - interrupts = <2 2>;
> + interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
> interrupt-parent = <&gpiof>;
> touchscreen-size-x = <480>;
> touchscreen-size-y = <800>;
Powered by blists - more mailing lists