13 May, 2014

1 commit

  • Timing mode identifier has same role and can take the place
    of speed mode. This change removes all related speed mode.

    Signed-off-by: Seungwon Jeon
    Tested-by: Jaehoon Chung
    Acked-by: Jaehoon Chung
    Signed-off-by: Ulf Hansson
    Signed-off-by: Chris Ball

    Seungwon Jeon
     

25 May, 2011

1 commit

  • This patch adds support for setting driver strength during UHS-I
    initialization procedure. Since UHS-I cards set S18A (bit 24) in
    response to ACMD41, we use this as a base for UHS-I initialization.
    We modify the parameter list of mmc_sd_get_cid() so that we can
    save the ROCR from ACMD41 to check whether bit 24 is set.

    We decide whether the Host Controller supports A, C, or D driver
    type depending on the Capabilities register. Driver type B is
    suported by default. We then set the appropriate driver type for
    the card using CMD6 mode 1. As per Host Controller spec v3.00, we
    set driver type for the host only if Preset Value Enable in the
    Host Control2 register is not set. SDHCI_HOST_CONTROL has been
    renamed to SDHCI_HOST_CONTROL1 to conform to the spec.

    Tested by Zhangfei Gao with a Toshiba uhs card and general hs card,
    on mmp2 in SDMA mode.

    Signed-off-by: Arindam Nath
    Reviewed-by: Philip Rakity
    Tested-by: Philip Rakity
    Acked-by: Zhangfei Gao
    Signed-off-by: Chris Ball

    Arindam Nath
     

11 Aug, 2010

1 commit

  • This series adds support for SD combo cards to MMC/SD driver stack.

    SD combo consists of SD memory and SDIO parts in one package. Since the
    parts have a separate SD command sets, after initialization, they can be
    treated as independent cards on one bus.

    Changes are divided into two patches. First is just moving initialization
    code around so that SD memory part init can be called from SDIO init.
    Second patch is a proper change enabling SD memory along SDIO. I tried to
    move as much no-op changes to the first patch so that it's easier to
    follow the required changes to initialization flow for SDIO cards.

    This is based on Simplified SDIO spec v.2.00. The init sequence is
    slightly modified to follow current SD memory init implementation.
    Command sequences, assuming SD memory and SDIO indeed ignore unknown
    commands, are the same as before for both parts.

    This patch:

    Prepare for SD-combo (IO+mem) support by splitting SD memory
    card init and related functions.

    Signed-off-by: Michal Miroslaw
    Cc: Adrian Hunter
    Cc: Chris Ball
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michal Miroslaw