Star64_linux/include/linux/mmc
Guodong Xu d6786fefe8 mmc: dw_mmc: add reset support to dwmmc host controller
Dwmmc host controller may in unknown state when entering kernel boot. One
example is when booting from eMMC, bootloader need initialize MMC host
controller into some state so it can read. In order to make sure MMC host
controller in a clean initial state, this reset support is added.

With this patch, a 'resets' property can be added into dw_mmc device
tree node. The hardware logic is: dwmmc host controller IP receives a reset
signal from a 'reset provider' (eg. power management unit). The 'resets'
property points to this reset signal. So, during dwmmc driver probe,
it can use this signal to reset itself.

Refer to [1] for more information.

[1] Documentation/devicetree/bindings/reset/reset.txt

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-09-26 21:31:19 +02:00
..
boot.h
card.h mmc: sd: Export SD Status via “ssr” device attribute 2016-09-26 21:31:09 +02:00
core.h mmc: core: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:02 +01:00
dw_mmc.h mmc: dw_mmc: add reset support to dwmmc host controller 2016-09-26 21:31:19 +02:00
host.h mmc: core: Allow hosts to specify non-support for MMC commands 2016-07-25 10:34:47 +02:00
mmc.h mmc: core: implement enhanced strobe support 2016-07-25 10:34:05 +02:00
pm.h
sd.h
sdhci-pci-data.h
sdio.h
sdio_func.h
sdio_ids.h brcmfmac: Add 4356 sdio support 2016-05-11 21:55:12 +03:00
sh_mmcif.h
slot-gpio.h