| From 40eeebc982025a35bdcbe92969a2199c7b260259 Mon Sep 17 00:00:00 2001 |
| From: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Date: Tue, 5 Sep 2017 19:26:31 +0200 |
| Subject: [PATCH 0333/1795] ARM: dts: alt: use correct logic for SD WP pins |
| |
| The WP pins are ACTIVE_HIGH, fix it in the DTS. |
| |
| Fixes: 2b41091b896b ("ARM: dts: alt: add SDHI0 and 1 support") |
| Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit a2f74d0e655eac78dbbd4ade88ee08b1f8ec7ec1) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| arch/arm/boot/dts/r8a7794-alt.dts | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts |
| index e45f92b5eb11..bd98790d964e 100644 |
| --- a/arch/arm/boot/dts/r8a7794-alt.dts |
| +++ b/arch/arm/boot/dts/r8a7794-alt.dts |
| @@ -304,7 +304,7 @@ |
| vmmc-supply = <&vcc_sdhi0>; |
| vqmmc-supply = <&vccq_sdhi0>; |
| cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; |
| - wp-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; |
| + wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
| sd-uhs-sdr50; |
| sd-uhs-sdr104; |
| status = "okay"; |
| @@ -318,7 +318,7 @@ |
| vmmc-supply = <&vcc_sdhi1>; |
| vqmmc-supply = <&vccq_sdhi1>; |
| cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; |
| - wp-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; |
| + wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; |
| sd-uhs-sdr50; |
| status = "okay"; |
| }; |
| -- |
| 2.19.0 |
| |