diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-17 20:52:10 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-04-04 09:56:31 +0200 |
commit | 7e5a7e39d767b60d8631792bd3d7820a6f4a43f8 (patch) | |
tree | 58f05de44c092767107c61ab06787b82f7bb09fb /arch/arm/boot/dts/rk3188-bqedison2qc.dts | |
parent | Linux 5.18-rc1 (diff) | |
download | linux-7e5a7e39d767b60d8631792bd3d7820a6f4a43f8.tar.xz linux-7e5a7e39d767b60d8631792bd3d7820a6f4a43f8.zip |
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 <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200917185211.5483-1-krzk@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3188-bqedison2qc.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3188-bqedison2qc.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3188-bqedison2qc.dts b/arch/arm/boot/dts/rk3188-bqedison2qc.dts index 85d3fce0142f..35b7a5798eee 100644 --- a/arch/arm/boot/dts/rk3188-bqedison2qc.dts +++ b/arch/arm/boot/dts/rk3188-bqedison2qc.dts @@ -7,6 +7,7 @@ /dts-v1/; #include <dt-bindings/i2c/i2c.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/interrupt-controller/irq.h> #include "rk3188.dtsi" / { @@ -485,7 +486,7 @@ reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&gpio3>; - interrupts = <RK_PD2 GPIO_ACTIVE_HIGH>; + interrupts = <RK_PD2 IRQ_TYPE_NONE>; interrupt-names = "host-wake"; brcm,drive-strength = <5>; pinctrl-names = "default"; |