rockchip: pinctrl: rk3368: add pinctrl for SDMMC0
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 19 Sep 2017 13:49:14 +0000 (15:49 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:33 +0000 (00:33 +0200)
commitfd0a1ba52ec65e82caf163d0074e768c3abc57ae
tree12760a9dec363cdd6cb47f1c893be6a863b1e737
parent6696fe5a2fac33fa9c1ed65d7f1b1af095129da9
rockchip: pinctrl: rk3368: add pinctrl for SDMMC0

Apparently, our earlier assumption that the BROM will always set up
the iomux for SDcard communication does not always hold true: when
booting U-Boot from the on-module (on the RK3368-uQ7) eMMC, the SDcard
pins are not set up and need to be configured by the pinctrl driver to
allow SD card access.

This change implements support for setting up the SDMMC pins in
pinctrl for the RK3368.

Reported-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/rockchip/pinctrl_rk3368.c