rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren
authorKever Yang <kever.yang@rock-chips.com>
Thu, 8 Jun 2017 07:32:04 +0000 (15:32 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 13:23:38 +0000 (15:23 +0200)
commitfe450895ff1a828d39bfd09082000149f2c8d9c3
treece752090d97e752f667445592a79eb59a40edd4e
parenta84b589e5dc3b274f0fde25e89ed8401adefdce7
rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

SDMMC-PWREN is a pin to control voltage for SDMMC IO, it may
be high active or low active, the dwmmc driver always assume
the sdmmc-pwren as high active.

Kernel treat this pin as fixed regulator instead of a pin from
controller, and then it can set in dts file upon board schematic,
that's a good solution, we can also do this in u-boot.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/pinctrl/rockchip/pinctrl_rk3328.c