diff mbox series

ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131

Message ID 20220503090621.483567-1-fabien.dessenne@foss.st.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131 | expand

Commit Message

Fabien Dessenne May 3, 2022, 9:06 a.m. UTC
Add interrupt-parent property in pinctrl node to use GPIO as IRQ.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
---
 arch/arm/boot/dts/stm32mp131.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alexandre TORGUE May 3, 2022, 1:48 p.m. UTC | #1
On 5/3/22 11:06, Fabien Dessenne wrote:
> Add interrupt-parent property in pinctrl node to use GPIO as IRQ.
> 
> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
> ---
>   arch/arm/boot/dts/stm32mp131.dtsi | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi
> index 58647396704f..f9ebc47e6421 100644
> --- a/arch/arm/boot/dts/stm32mp131.dtsi
> +++ b/arch/arm/boot/dts/stm32mp131.dtsi
> @@ -259,6 +259,8 @@ pinctrl: pinctrl@50002000 {
>   			#size-cells = <1>;
>   			compatible = "st,stm32mp135-pinctrl";
>   			ranges = <0 0x50002000 0x8400>;
> +			interrupt-parent = <&exti>;
> +			st,syscfg = <&exti 0x60 0xff>;
>   			pins-are-numbered;
>   
>   			gpioa: gpio@50002000 {

Applied on stm32-next.

Thanks.
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi
index 58647396704f..f9ebc47e6421 100644
--- a/arch/arm/boot/dts/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/stm32mp131.dtsi
@@ -259,6 +259,8 @@  pinctrl: pinctrl@50002000 {
 			#size-cells = <1>;
 			compatible = "st,stm32mp135-pinctrl";
 			ranges = <0 0x50002000 0x8400>;
+			interrupt-parent = <&exti>;
+			st,syscfg = <&exti 0x60 0xff>;
 			pins-are-numbered;
 
 			gpioa: gpio@50002000 {