]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: at91-sama5d2_xplained: Use IRQ_TYPE specifier
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>
Sun, 13 May 2018 23:22:04 +0000 (20:22 -0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 14 May 2018 13:29:52 +0000 (15:29 +0200)
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@vanguardiasur.com.ar>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index e4bbb7e0f79360b67fd6dd150a8c8969ab703904..fcc85d70f36ec6009c5c2ba0a59167f3479f278f 100644 (file)
                                                pinctrl-names = "default";
                                                pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
                                                interrupt-parent = <&pioA>;
-                                               interrupts = <PIN_PB13 GPIO_ACTIVE_LOW>;
+                                               interrupts = <PIN_PB13 IRQ_TYPE_EDGE_RISING>;
 
                                                active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
                                                active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;