dts: imx25: fix sd card gpio polarity specified in device tree
authorDong Aisheng <aisheng.dong@freescale.com>
Wed, 22 Jul 2015 12:53:03 +0000 (20:53 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 28 Oct 2015 02:13:59 +0000 (22:13 -0400)
commitdd1cb4f71ac173f0f3d0fd172d4a58f3aa23bb8b
tree0c5d1f1026c1515de31b6c7fb61ec1b78a8d9e73
parentb2a9883c2f4079aca2a887cd76d87703fe387b60
dts: imx25: fix sd card gpio polarity specified in device tree

[ Upstream commit cf75eb15be2bdd054a76aeef6458beaa4a6ab770 ]

cd-gpios polarity should be changed to GPIO_ACTIVE_LOW and wp-gpios
should be changed to GPIO_ACTIVE_HIGH.
Otherwise, the SD may not work properly due to wrong polarity inversion
specified in DT after switch to common parsing function mmc_of_parse().

Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm/boot/dts/imx25-pdk.dts