diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2019-01-14 15:44:21 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-01-14 07:59:40 -0800 |
commit | f29200c8b1e267b109242677ae7f2146c7682d14 (patch) | |
tree | 6c8353c4721a3ffed45cd6809c5fbdc4b09e5385 /arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | |
parent | 8615f5596335db0978cea593dcd0070dc5f8b116 (diff) | |
download | linux-stable-f29200c8b1e267b109242677ae7f2146c7682d14.tar.gz linux-stable-f29200c8b1e267b109242677ae7f2146c7682d14.tar.bz2 linux-stable-f29200c8b1e267b109242677ae7f2146c7682d14.zip |
arm64: dts: meson: Fix mmc cd-gpios polarity
Commit 89a5e15bcba8 ("gpio/mmc/of: Respect polarity in the device tree")
changed the behavior of "cd-inverted" to follow the device tree bindings
specification:
According to SDHCI standard, CD lines are specified as "active low".
Using the "cd-inverted" property means that the CD line is "active high".
Fix the SD card description for meson by setting the cd-gpios as
"active low", according to the boards specifications, and dropping the
"cd-inverted" property.
Fixes: 89a5e15bcba8 ("gpio/mmc/of: Respect polarity in the device tree")
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index 4cf7f6e80c6a..25105ac96d55 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -238,8 +238,7 @@ max-frequency = <100000000>; disable-wp; - cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; - cd-inverted; + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>; vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_card>; |