arm64: dts: rockchip: correct interrupt flags on rk3399 boards
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 17 Sep 2020 18:52:11 +0000 (20:52 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 10 Apr 2022 16:35:33 +0000 (18:35 +0200)
commitc043dee9cb6bc332746cd60ec42d5f8220d90332
treedd9c629ee494db54206df81bd38b4dbef2e3d7ee
parenta070d3b857d4961e1202754f7a86a0f796f808cd
arm64: dts: rockchip: correct interrupt flags on rk3399 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, assuming the author of the code wanted same
logical behavior behind the name "ACTIVE_xxx", this is:
  ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200917185211.5483-2-krzk@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi