arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt
diff mbox series

Message ID 20191205131900.2059-1-glaroque@baylibre.com
State Mainlined
Commit 30388cc075720aa0af4f2cb5933afa1f8f39d313
Headers show
Series
  • arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt
Related show

Commit Message

Guillaume La Roque Dec. 5, 2019, 1:19 p.m. UTC
add gpio irq to support interrupt trigger mode.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
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(+)

Comments

Kevin Hilman Dec. 9, 2019, 10:35 p.m. UTC | #1
Guillaume La Roque <glaroque@baylibre.com> writes:

> add gpio irq to support interrupt trigger mode.
>
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> ---
> 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
patchwork-bot+linux-amlogic@kernel.org Dec. 9, 2019, 11:47 p.m. UTC | #2
Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

On Thu,  5 Dec 2019 14:19:00 +0100 you wrote:
> add gpio irq to support interrupt trigger mode.
> 
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> ---
> hi,
> 
> this patch depends of
> https://lkml.org/lkml/2019/12/4/644
> 
> [...]


Here is a summary with links:
  - arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt
    https://git.kernel.org/khilman/linux-amlogic/c/30388cc075720aa0af4f2cb5933afa1f8f39d313

You are awesome, thank you!

Patch
diff mbox series

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>;