diff options
author | Ye Li <ye.li@nxp.com> | 2016-11-08 10:32:58 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-03-14 21:27:09 +0800 |
commit | d0366265f09c86ce9801363d0fc74fda76696329 (patch) | |
tree | af4b38c94c038fc24ced7a9354094b74f448ce27 /include/cramfs | |
parent | 205d1f74991ec04aad530985e8f008ed272259fe (diff) | |
download | u-boot-imx-d0366265f09c86ce9801363d0fc74fda76696329.zip u-boot-imx-d0366265f09c86ce9801363d0fc74fda76696329.tar.gz u-boot-imx-d0366265f09c86ce9801363d0fc74fda76696329.tar.bz2 |
MLK-13440-1: fsl_usdhc: Add configuration parameter for using fixed 1.8V I/O
When using eMMC with 1.8V I/O, we have to set the VSELECT bit at this USDHC controller
setup and init. The CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT has problem that it will
apply to all USDHC controllers and it only set the 1.8V at init phase. So if user does not
select to the eMMC device, the voltage on the I/O pins are not correct.
This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg structure and priv data, so each controller
can have different settings. The default value is 0 for 3.3V, which is compatible with current
codes. When setting this value to 1, at USDHC setup and init phase the driver will set the
VSELECT bit.
For DM driver, the vqmmc-supply property will be searched for current usdhc node. If the vqmmc-supply is
set to 1800000 uV, the vs18_enable in priv data will be set to 1.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit ebd872f491af27c38a0698d226222ea5093c563c)
Diffstat (limited to 'include/cramfs')
0 files changed, 0 insertions, 0 deletions