]> code.ossystems Code Review - bsp/u-boot.git/commit
dm: mmc: fsl_esdhc: handle vqmmc supply
authorPeng Fan <peng.fan@nxp.com>
Mon, 12 Jun 2017 09:50:54 +0000 (17:50 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:02 +0000 (09:05 -0300)
commit40294f880daf7eeee170f1e4e245cd88cb2f07c7
tree57eb3ca09d5298f83affbf000c0ad65ca2adf2ae
parent0378edcd020edd46c577c597d7a350dee003078c
dm: mmc: fsl_esdhc: handle vqmmc supply

Handle vqmmc supply. Some boards have a fixed I/O voltage
at 1.8V for emmc, so the usdhc also needs to be configured
as 1.8V by setting VSELECT bit. The vs18_enable is the one
that used to checking whether setting VSELECT or not in
the driver. So if vqmmc supply is 1.8V, set vs18_enable,
the driver will set VSELECT.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/fsl_esdhc.c