]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: ux500: fix MMC/SD card regression
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jul 2015 13:15:22 +0000 (15:15 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 14 Jul 2015 09:15:57 +0000 (11:15 +0200)
commitf090a201afe034aaf614643d8a9f9e836580b294
treef4e66a320261ae1401fcb2f34a616ada1ce204ab
parent4c3995dc710004082d15d6506f1c6079717d514a
ARM: ux500: fix MMC/SD card regression

Ux500 is regressing due to commit
e216ab9ee941882459cb9508d18f12fd47bf13a3
"pinctrl: nomadik: activate strict mux mode" which disallows
Nomadik GPIO 5 to be muxed in as a level shifter voltage select
pin, as it is currently described as being used for RX on UART1.

The behaviour is correct, instead the hardware config has been
incorrecly specified: UART1 is indeed unused on HREFv60plus and
Snowball and that is why HREFv60plus can use the pins it would
normally occupy as the voltage select line for the MMC/SD
levelshifter (Snowball uses it for I2C4).

The reason UART1 was anyway enabled on these platforms was
probably to secure the port enumeration to userspace. This
can be solved by using aliases (done in a separate patch) so
we can now deactivate UART1 and let MMC/SD use it properly
on HREFv60plus. We explicitly activate it only for the
older HREFprev60 board.

To complete, we set up the pin configuration for these pins
properly in the sdi0 node.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-hrefprev60.dtsi
arch/arm/boot/dts/ste-hrefv60plus.dtsi
arch/arm/boot/dts/ste-snowball.dts