• P
    mmc: sdhci: Add pre and post reset processing for chip specific reset · 393c1a34
    Philip Rakity 提交于
    Marvell pxa controllers have private registers that may need to be
    modified before and after a reset is done.
    
    For example, the SD reset operation, RESET_ALL, will reset the private
    registers to their default state.  This will cause the clock adjustment
    registers that may have been programmed to have incorrect values.
    
    RESET_DATA sometimes needs to be delayed before the reset is done
    (depending on SoC) to enable any transactions being handled by the
    SDIO card to be completed.  Needed in pre SD 3.0 silicon to handle
    clock gating.
    
    Implement hooks to allow this to happen.
    Signed-off-by: NPhilip Rakity <prakity@marvell.com>
    Signed-off-by: NChris Ball <cjb@laptop.org>
    393c1a34
sdhci.h 9.4 KB