]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.14.21/arm-dts-mt7623-fix-card-detection-issue-on-bananapi-r2.patch
fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 4.14.21 / arm-dts-mt7623-fix-card-detection-issue-on-bananapi-r2.patch
1 From b96a696fb2a8dd1ee4e6cfee48dcac270fc53287 Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Thu, 7 Dec 2017 14:43:24 +0800
4 Subject: arm: dts: mt7623: fix card detection issue on bananapi-r2
5
6 From: Sean Wang <sean.wang@mediatek.com>
7
8 commit b96a696fb2a8dd1ee4e6cfee48dcac270fc53287 upstream.
9
10 Fix that bananapi-r2 booting from SD-card would fail since incorrect
11 polarity is applied to the previous setup with GPIO_ACTIVE_HIGH.
12
13 Cc: stable@vger.kernel.org
14 Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2")
15 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
16 Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
17 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19
20 ---
21 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
25 +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
26 @@ -204,7 +204,7 @@
27 bus-width = <4>;
28 max-frequency = <50000000>;
29 cap-sd-highspeed;
30 - cd-gpios = <&pio 261 0>;
31 + cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
32 vmmc-supply = <&mt6323_vmch_reg>;
33 vqmmc-supply = <&mt6323_vio18_reg>;
34 };