Skip to content

Commit c9f986a

Browse files
krzkmmind
authored andcommitted
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: 7b4a809 ("arm64: dts: rockchip: Add Neardi LBA3368 board") Cc: [email protected] # Needs testing, because actual level is just a guess Signed-off-by: Krzysztof Kozlowski <[email protected]> Tested-By: Alex Bee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 09cce87 commit c9f986a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@
609609

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

0 commit comments

Comments
 (0)