Files
u-boot/include
Ashok Reddy Soma 7a49a16ec5 Revert "mmc: zynq: parse dt when probing"
This reverts commit 942b5fc032.

This is partial revert of the above commit.

mmc_of_parse() is reading no-1-8-v from device tree and if set,
it is clearing the UHS speed capabilities of cfg->host_caps.
cfg->host_caps &= ~(UHS_CAPS | MMC_MODE_HS200 |
		    MMC_MODE_HS400 | MMC_MODE_HS400_ES);

This is still missing to clear UHS speeds like SDHCI_SUPPORT_SDR104,
SDHCI_SUPPORT_SDR50 and SDHCI_SUPPORT_DDR50.

Even if we clear the flags SDHCI_SUPPORT_XXX in mmc_of_parse(),
these speed flags are getting set again in cfg->host_caps in
sdhci_setup_cfg().

The reason for this is, SDHCI_SUPPORT_XXX flags are cleared
only if controller is not capable of supporting MMC_VDD_165_195 volts.

if (caps & SDHCI_CAN_VDD_180)
	cfg->voltages |= MMC_VDD_165_195;

if (!(cfg->voltages & MMC_VDD_165_195))
	caps_1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 |
		    SDHCI_SUPPORT_DDR50);

It means "no-1-8-v", which is read from DT is not coming in to effect.
So it is better we keep the host quirks(SDHCI_QUIRK_NO_1_8_V) to
clear UHS speeds based on no-1-8-v from device tree.

Hence revert the functionality related to no-1-8-v only, rest is fine
in the patch.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-10-27 08:13:33 +01:00
..
2019-12-06 16:44:20 -05:00
2020-09-30 16:55:03 -04:00
2020-10-23 16:38:33 -04:00
2020-10-22 09:54:53 -04:00
2020-05-11 10:16:49 +05:30
2020-04-17 12:32:36 -04:00
2020-10-06 09:07:54 -06:00
2020-07-09 12:33:24 +08:00
2020-05-18 17:33:33 -04:00
2020-07-28 19:30:39 -06:00
2020-02-05 19:33:46 -07:00
2020-09-01 14:47:43 +02:00
2020-02-05 19:33:46 -07:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2020-09-06 21:21:41 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 17:33:33 -04:00
2020-08-07 22:31:32 -04:00
2020-10-14 14:00:44 +08:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2020-01-20 15:38:16 +01:00
2020-05-18 18:36:55 -04:00
2020-04-17 12:32:36 -04:00
2020-08-04 23:30:02 -04:00
2020-10-22 09:53:31 -04:00
2019-12-02 18:23:11 -05:00
2020-01-25 12:04:36 -05:00
2020-02-05 19:33:46 -07:00
2020-05-18 17:33:33 -04:00
2020-07-17 10:47:19 -04:00
2020-06-14 21:07:20 +02:00
2020-09-30 11:55:23 -04:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-09-30 11:55:23 -04:00
2020-05-18 17:33:31 -04:00
2020-02-05 19:33:46 -07:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00
2020-08-11 20:34:46 +05:30
2020-08-07 22:31:32 -04:00
2020-08-23 13:43:10 -04:00
2020-10-22 09:54:53 -04:00
2020-08-03 22:19:54 -04:00
2020-01-21 15:56:15 +01:00
2020-04-24 16:40:09 -04:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00