Disable SD clock gated off for i.MX6

Document created by MaxTsai Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

Some of SDIO cards need SD clock active for 4-bit mode, in order to generate interrupt.

But i.MX6 SD controller enables SD clock gated by default, the attached patch is an example to disable SD clock gated.

It's able to check if clock gated is enable or not by the register, "uSDHCx_PRES_STATE:SDOFF", of SD controller.