• Adrian Hunter's avatar
    omap_hsmmc: Move gpio and regulator control from board file · db0fefc5
    Adrian Hunter authored
    This patch moves the setup code for GPIO's and Voltage
    Regulators from the board file mmc-twl4030.c to the
    driver omap_hsmmc.c.  PBIAS and other system control
    configuration remains in the board file.
    
    Moving GPIO code to the driver makes the board initialisation
    code independent of when GPIO's are defined.  That makes the
    board initialisation now entirely independent of its original
    twl4030 roots.
    
    Moving Voltage Regulator code to the driver allows for further
    development of regulator support in the core MMC code.  It also
    permits the MMC core to be compiled as a module, because the
    board code no longer calls MMC core functions.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@nokia.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    db0fefc5
rx51_defconfig 43.7 KB