diff options
author | Ye Li <ye.li@nxp.com> | 2016-06-15 10:53:01 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-06-28 12:08:53 -0700 |
commit | 84ecdf6da9eb102b2de87d5912d1554f44d33237 (patch) | |
tree | 38530fee427d50204ab35c1c181e2ca5744e4d5f /arch/arm/cpu/armv8 | |
parent | f53225cce406058c09cf81456d9dc4956fef1b73 (diff) |
fsl_esdhc: Update clock enable bits for USDHC
The USDHC moves the 4 clock bits CARD_CLK_SOFT_EN, IPG_PERCLK_SOFT_EN,
HCLK_SOFT_EN, and IPG_CLK_SOFT_EN from sysctl register to vendorspec
register. The driver uses RSTA to replace the clock gate off
operation. But this is not a good solution because:
1. when using RSTA, we should wait this bit to clear by itself. This is not
implemeneted in the code.
2. After RSTA is set, it is recommended that the Host Driver reset the
external card and reinitialize it.
So in this patch, we change to use the vendorspec registers for these bits
operation.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/cpu/armv8')
0 files changed, 0 insertions, 0 deletions