Skip to content

Commit 7e5a7e3

Browse files
krzkmmind
authored andcommitted
ARM: dts: rockchip: correct interrupt flags on rk3188 boards
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING Correct the interrupt flags without affecting the code: ACTIVE_HIGH => IRQ_TYPE_NONE Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 3123109 commit 7e5a7e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm/boot/dts/rk3188-bqedison2qc.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/dts-v1/;
88
#include <dt-bindings/i2c/i2c.h>
99
#include <dt-bindings/input/input.h>
10+
#include <dt-bindings/interrupt-controller/irq.h>
1011
#include "rk3188.dtsi"
1112

1213
/ {
@@ -485,7 +486,7 @@
485486
reg = <1>;
486487
compatible = "brcm,bcm4329-fmac";
487488
interrupt-parent = <&gpio3>;
488-
interrupts = <RK_PD2 GPIO_ACTIVE_HIGH>;
489+
interrupts = <RK_PD2 IRQ_TYPE_NONE>;
489490
interrupt-names = "host-wake";
490491
brcm,drive-strength = <5>;
491492
pinctrl-names = "default";

0 commit comments

Comments
 (0)