• kishore kadiyala's avatar
    omap4 hsmmc: Update ocr mask for MMC2 for regulator to use · 64be9782
    kishore kadiyala authored
    On OMAP4, MMC2 controller has eMMC which draws power from VAUX regulator
    on TWL. Though the eMMC supports dual voltage[1.8v/3v] as per ocr register,
    its VCC is fixed at 3V for operation. With this once the mmc core selects
    the minimum voltage[1.8] supported based on the ocr value read from OCR register,
    eMMC will not get detected. Thus the platform data for MMC2 is updated with ocr
    mask and same will be communicated to core which will set the regulator to
    always operate at 3V when ever turned ON.
    
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
    Cc: Adrian Hunter <adrian.hunter@nokia.com>
    Signed-off-by: default avatarKishore Kadiyala <kishore.kadiyala@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    64be9782
omap_hsmmc.c 59.3 KB