Skip to content
  • Marek Vasut's avatar
    mmc: tmio: sdhi: HS400 manual adjustment · b5900a58
    Marek Vasut authored
    
    
    Since Gen3 SDHI has an internal DS signal AC-spec violation in HS400 mode,
    CRC-error may occur in read command in HS400 mode. This phoenomenon occurs
    at low/high temperature.
    
    To fix this, after completion of HS400 tuning, enable manual calibration.
    However, Gen3 M3 Ver.1.2 or earlier and H3 1.x does not support HS400.
    These SoC forcibly use HS200 mode by SoC attribute.
    
    The DT adjustment of the tuning parameters is not supported until the
    DT property names become clear.
    
    Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
    Adapted from a patch by Takeshi Saito <takeshi.saito.xv@renesas.com>
    Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
    Cc: Peng Fan <peng.fan@nxp.com>
    b5900a58