Files
u-boot/include
Haibo Chen 63756575b4 mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output
For FSL_USDHC, it do not implement VENDORSPEC_CKEN/PEREN/HCKEN/IPGEN, these
are reserved bits. Instead, use VENDORSPEC_FRC_SDCLK_ON to gate on/off the
card clock output.

After commit b5874b552f ("mmc: fsl_esdhc_imx: add wait_dat0() support"),
we meet SD3.0 card can't work at UHS mode, mmc_switch_voltage() fail because
the second mmc_wait_dat0 return -ETIMEDOUT. According to SD spec, during
voltage switch, need to gate off/on the card clock. If not set the FRC_SDCLK_ON,
after CMD11, hardware will gate off the card clock automatically, so card do
not detect the clock off/on behavior, so will draw the data0 line low until
next command.

Fixes: b5874b552f ("mmc: fsl_esdhc_imx: add wait_dat0() support")
Tested-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2021-04-08 23:44:40 +02:00
..
2021-04-08 20:29:54 +02:00
2021-03-29 18:00:21 -04:00
2020-05-11 10:16:49 +05:30
2021-01-15 14:36:12 -05:00
2020-04-17 12:32:36 -04:00
2021-01-25 21:52:00 +00:00
2021-01-25 21:52:00 +00:00
2020-07-09 12:33:24 +08:00
2020-05-18 17:33:33 -04:00
2021-03-07 17:37:13 +01:00
2021-01-12 10:58:04 +05:30
2021-01-12 10:58:04 +05:30
2020-12-26 12:37:28 +01:00
2021-01-30 14:25:41 -07:00
2021-01-30 14:25:42 -07:00
2021-01-31 14:08:56 +01:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2021-01-13 02:38:01 +01:00
2020-05-18 21:19:23 -04:00
2020-08-07 22:31:32 -04:00
2021-02-10 10:00:51 +01:00
2020-10-30 10:56:11 -04:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2021-03-29 18:00:21 -04: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
2021-03-27 15:04:31 +13:00
2020-07-17 10:47:19 -04:00
2020-12-18 20:32:21 -07:00
2020-06-14 21:07:20 +02: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
2021-03-27 15:04:31 +13:00
2021-01-05 16:20:26 -05:00
2020-10-22 09:54:53 -04:00
2020-08-03 22:19:54 -04:00
2021-01-27 17:03:16 -05:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00
2021-01-15 14:36:12 -05:00