mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
mmc: host: rk_sdmmc:
Add rk32 mmc controller with cap HW_RESET support, default N.
This commit is contained in:
parent
36bc2f8d00
commit
55bf73c13b
|
|
@ -82,6 +82,8 @@ Required Properties:
|
|||
* vmmc-supply: The phandle to the regulator to use for vmmc. If this is
|
||||
specified we'll defer probe until we can find this regulator.
|
||||
|
||||
* poll-hw-reset: need hardware reset for some eMMCs with VCCQ always supplied when powered up
|
||||
to enter idle state.
|
||||
|
||||
Example: adding device info in dtsi file
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,8 @@ &emmc {
|
|||
bootpart-no-access;
|
||||
ignore-pm-notify;
|
||||
keep-power-in-suspend;
|
||||
status = "okay";
|
||||
//poll-hw-reset
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdmmc {
|
||||
|
|
|
|||
|
|
@ -2761,6 +2761,8 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id)
|
|||
mmc->caps |= MMC_CAP_POWER_OFF_CARD;
|
||||
if (of_find_property(host->dev->of_node, "cap-sdio-irq", NULL))
|
||||
mmc->caps |= MMC_CAP_SDIO_IRQ;
|
||||
if (of_find_property(host->dev->of_node, "poll-hw-reset", NULL))
|
||||
mmc->caps |= MMC_CAP_HW_RESET;
|
||||
if (of_find_property(host->dev->of_node, "full-pwr-cycle", NULL))
|
||||
mmc->caps2 |= MMC_CAP2_FULL_PWR_CYCLE;
|
||||
if (of_find_property(host->dev->of_node, "keep-power-in-suspend", NULL))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user