2019-12-05 13:19:55

by Guillaume LA ROQUE

[permalink] [raw]
Subject: [PATCH] arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt

add gpio irq to support interrupt trigger mode.

Signed-off-by: Guillaume La Roque <[email protected]>
---
hi,

this patch depends of
https://lkml.org/lkml/2019/12/4/644

Guillaume

arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
index 2c90f4713d0e..a8bb3fa9fec9 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
@@ -591,6 +591,8 @@

bluetooth {
compatible = "brcm,bcm43438-bt";
+ interrupt-parent = <&gpio_intc>;
+ interrupts = <95 IRQ_TYPE_LEVEL_HIGH>;
shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
max-speed = <2000000>;
clocks = <&wifi32k>;
--
2.17.1


2019-12-09 22:36:43

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt

Guillaume La Roque <[email protected]> writes:

> add gpio irq to support interrupt trigger mode.
>
> Signed-off-by: Guillaume La Roque <[email protected]>
> ---
> hi,
>
> this patch depends of
> https://lkml.org/lkml/2019/12/4/644

Just to be clear on the dependency... This DT patch will not change any
behavior until the driver patch is merged, correct?

But if this DT patch merges before the driver patch merges, we're not
going to break anything, right? We're just going to (continue) to not
have working interrupts.

Kevin