Commit c9f986a5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Fix Bluetooth interrupts flag on Neardi LBA3368



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: GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE.

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

Fixes: 7b4a8097 ("arm64: dts: rockchip: Add Neardi LBA3368 board")
Cc: stable+noautosel@kernel.org # Needs testing, because actual level is just a guess
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-By: default avatarAlex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20250818090445.28112-4-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 09cce878
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -609,7 +609,7 @@ &uart0 {

	bluetooth {
		compatible = "brcm,bcm4345c5";
		interrupts-extended = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
		interrupts-extended = <&gpio3 RK_PA7 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "host-wakeup";
		clocks = <&rk808 RK808_CLKOUT1>;
		clock-names = "lpo";