pmaports/main/linux-postmarketos-exynos4/0012-ARM-dts-exynos-i9100-Use-interrupt-for-BCM4330-ho.patch
Paul Cercueil cdf6b3fed5
main/linux-postmarketos-exynos4: Add support for Bluetooth on i9100 (MR 2661)
Add two patches that fixes the Bluetooth node in the Device Tree of the
Galaxy S2 (i9100).

These two patches are not upstream yet, but were accepted by the
maintainer for inclusion in Linux 5.17.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-11-12 12:32:49 +01:00

34 lines
1.1 KiB
Diff

From 7c75fdd8fe77dbc46ec38ec839b35e3e7824d617 Mon Sep 17 00:00:00 2001
From: Paul Cercueil <paul@crapouillou.net>
Date: Sun, 31 Oct 2021 23:38:45 +0000
Subject: [PATCH v2 2/2] ARM: dts: exynos/i9100: Use interrupt for BCM4330 host
wakeup
Switch away from using the deprecated 'host-wakeup-gpios' property,
and use a 'host-wakeup' interrupt instead, as suggested by the binding
documentation.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/arm/boot/dts/exynos4210-i9100.dts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts
index 5f5d9b135736..76b1017e05e8 100644
--- a/arch/arm/boot/dts/exynos4210-i9100.dts
+++ b/arch/arm/boot/dts/exynos4210-i9100.dts
@@ -829,7 +829,10 @@ bluetooth {
shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>;
device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
- host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
+
+ interrupt-parent = <&gpx2>;
+ interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-names = "host-wakeup";
};
};
--
2.33.0