pmaports/main/linux-postmarketos-exynos4/0011-ARM-dts-exynos-i9100-Fix-BCM4330-Bluetooth-reset-.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

33 lines
1.2 KiB
Diff

From 0348cfc4fe67d02a12c7c69425aeae6991d90c9a Mon Sep 17 00:00:00 2001
From: Paul Cercueil <paul@crapouillou.net>
Date: Sun, 31 Oct 2021 23:36:09 +0000
Subject: [PATCH v2 1/2] ARM: dts: exynos/i9100: Fix BCM4330 Bluetooth reset
polarity
The reset GPIO was marked active-high, which is against what's specified
in the documentation. Mark the reset GPIO as active-low. With this
change, Bluetooth can now be used on the i9100.
Fixes: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2")
Cc: stable@vger.kernel.org
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/arm/boot/dts/exynos4210-i9100.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts
index 55922176807e..5f5d9b135736 100644
--- a/arch/arm/boot/dts/exynos4210-i9100.dts
+++ b/arch/arm/boot/dts/exynos4210-i9100.dts
@@ -827,7 +827,7 @@ bluetooth {
compatible = "brcm,bcm4330-bt";
shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&gpl1 0 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>;
};
--
2.33.0