[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1526253494-3333-1-git-send-email-hernan@vanguardiasur.com.ar>
Date: Sun, 13 May 2018 20:18:14 -0300
From: Hernán Gonzalez <hernan@...guardiasur.com.ar>
To: bcousson@...libre.com
Cc: tony@...mide.com, robh+dt@...nel.org, mark.rutland@....com,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Hernán Gonzalez <hernan@...guardiasur.com.ar>
Subject: [PATCH] ARM: dts: am335x-baltos-ir5221: Use IRQ_TYPE specifier
GPIO_ACTIVE_LOW was being used to specify an interrupt, use
IRQ_TYPE_EDGE_RISING instead. This improves DT readability.
Signed-off-by: Hernán Gonzalez <hernan@...guardiasur.com.ar>
---
arch/arm/boot/dts/am335x-baltos-ir5221.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-baltos-ir5221.dts b/arch/arm/boot/dts/am335x-baltos-ir5221.dts
index 5d56355..832ead8 100644
--- a/arch/arm/boot/dts/am335x-baltos-ir5221.dts
+++ b/arch/arm/boot/dts/am335x-baltos-ir5221.dts
@@ -94,7 +94,7 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
- interrupts = <20 GPIO_ACTIVE_LOW>;
+ interrupts = <20 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default";
pinctrl-0 = <&tca6416_pins>;
};
--
2.7.4
Powered by blists - more mailing lists