aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-08-28 08:46:46 +0200
committerPetr Štetiar <ynezz@true.cz>2022-08-28 08:47:17 +0200
commitdddf01c5085006785afb954c2cf1f40e7e13a231 (patch)
treecf5a72bf71a938d6c466a6bd5449e31c8220ad4c
parent89956c65325260c3d7130aa48b8284c786661e18 (diff)
downloadupstream-dddf01c5085006785afb954c2cf1f40e7e13a231.tar.gz
upstream-dddf01c5085006785afb954c2cf1f40e7e13a231.tar.bz2
upstream-dddf01c5085006785afb954c2cf1f40e7e13a231.zip
Revert "mediatek: mt7622: fix banana pi r64 wps button"
This reverts commit 5a81e0006380c301cdc691838f519275fc6c28d2 as it was backported upstream in commit a1e238690916 ("arm64: dts: mt7622: fix BPI-R64 WPS button"). Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--target/linux/mediatek/patches-5.10/920-dts-mt7622-bpi-r64-fix-wps-button.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/mediatek/patches-5.10/920-dts-mt7622-bpi-r64-fix-wps-button.patch b/target/linux/mediatek/patches-5.10/920-dts-mt7622-bpi-r64-fix-wps-button.patch
deleted file mode 100644
index ba852ad286..0000000000
--- a/target/linux/mediatek/patches-5.10/920-dts-mt7622-bpi-r64-fix-wps-button.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From dd1d420f40e75c3881a04001e6f2798492ee83c2 Mon Sep 17 00:00:00 2001
-From: Nick Hainke <vincent@systemli.org>
-Date: Thu, 30 Jun 2022 12:32:20 +0200
-Subject: [PATCH] arm64: dts: mt7622: fix BPI-R64 WPS button
-
-The bananapi R64 (BPI-R64) experiences wrong WPS button signals.
-In OpenWrt pushing the WPS button while powering on the device will set
-it to recovery mode. Currently, this also happens without any user
-interaction. In particular, the wrong signals appear while booting the
-device or restarting it, e.g. after doing a system upgrade. If the
-device is in recovery mode the user needs to manually power cycle or
-restart it.
-
-The official BPI-R64 sources set the WPS button to GPIO_ACTIVE_LOW in
-the device tree. This setting seems to suppress the unwanted WPS button
-press signals. So this commit changes the button from GPIO_ACTIVE_HIGH to
-GPIO_ACTIVE_LOW.
-
-The official BPI-R64 sources can be found on
-https://github.com/BPI-SINOVOIP/BPI-R64-openwrt
-
-Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
-
-Suggested-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-Signed-off-by: Nick Hainke <vincent@systemli.org>
----
- arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
-+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
-@@ -54,7 +54,7 @@
- wps {
- label = "wps";
- linux,code = <KEY_WPS_BUTTON>;
-- gpios = <&pio 102 GPIO_ACTIVE_HIGH>;
-+ gpios = <&pio 102 GPIO_ACTIVE_LOW>;
- };
- };
-