1. 02 11月, 2018 8 次提交
    • M
      mmc: tmio: Preinitialize regulator to 3.3V · c83da2eb
      Marek Vasut 提交于
      Preinitialize the SD card signals regulator to 3.3V, which is the
      default post-reset setting, to be sure the regulator is set to a
      valid value.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      c83da2eb
    • M
      mmc: tmio: Configure clock before any other IOS · 8171f99e
      Marek Vasut 提交于
      Configure the clock settings before reconfiguring any other IO settings.
      This is required when the clock must be stopped before changing eg. the
      pin configuration or any of the other properties of the bus. Running the
      clock configuration first allows the MMC core to do just that.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      8171f99e
    • M
      mmc: tmio: Silence transfer errors when tuning · 33633ebb
      Marek Vasut 提交于
      In case the controller performs card tuning, that is, sends MMC
      command 19 or 21, silence possible CRC error warning prints. The
      warnings are bound to happen, since the tuning will fail for some
      settings while searching for the optimal configuration of the bus
      and that is perfectly OK.
      
      This patch passes around the MMC command structure and adds check
      into tmio_sd_check_error() to avoid printing CRC error warning
      when the tuning happens.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      33633ebb
    • M
      mmc: tmio: Improve error handling · b22c8d0d
      Marek Vasut 提交于
      Properly handle return values and abort operations when they are
      non-zero. This is a minor improvement, which fixes two remaining
      unchecked return values.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      b22c8d0d
    • M
      mmc: tmio: Simplify pinmux handling · 645a575a
      Marek Vasut 提交于
      The SD UHS SDR12, SDR25, SDR50, SDR104, DDR50 and MMC HS200, HS400
      modes all use 1.8V signaling, while all the legacy modes use 3.3V
      signaling. While there are extra modes which use 1.2V signaling,
      the existing hardware does not support those.
      
      Simplify the pinmux such that 3.3V signaling implies legacy mode
      pinmux and the rest implies UHS mode pinmux. This prevents the
      massive case statement from growing further. Moreover, it fixes
      an edge case where during SD 1.8V switch, the bus mode is still
      set to default while the signaling is already set to 1.8V, which
      results in an attempt to communicate with a 1.8V card using pins
      in 3.3V mode and thus communication failure.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      645a575a
    • M
      ARM: rmobile: Generate fitting mem_map on Gen3 · e5cb6bd9
      Marek Vasut 提交于
      Patch "ARM: rmobile: Mark 4-64GiB as DRAM on Gen3" marked the entire
      64bit DRAM space as cachable. On CortexA57, this might result in odd
      side effects, where the CPU tries to prefetch from those areas and if
      there is no DRAM backing them, CPU bus hang can happen.
      
      This patch fixes it by generating the mem_map structure based on the
      actual memory layout obtained from the DT, thus not marking areas
      without any DRAM behind them as cachable.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Fixes: c1ec3476 ("ARM: rmobile: Mark 4-64GiB as DRAM on Gen3")
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      e5cb6bd9
    • M
      pinctrl: renesas: Add POCCTRL handling to r8a77990 · 5dbdd3a6
      Marek Vasut 提交于
      Add definition of the POCCTRL register and bits therein to R8A77990 E3
      pincontrol driver. This allows the pincontrol driver to configure SDHI
      pin voltage according to power-source DT property.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      5dbdd3a6
    • M
      pinctrl: renesas: Fix DRV register offset · 0ff9e480
      Marek Vasut 提交于
      Use fixed 4bit size for generating the DRV register element mask,
      not the size of the value, which can be smaller.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      0ff9e480
  2. 01 11月, 2018 1 次提交
  3. 31 10月, 2018 4 次提交
  4. 30 10月, 2018 4 次提交
  5. 29 10月, 2018 7 次提交
  6. 28 10月, 2018 7 次提交
  7. 26 10月, 2018 2 次提交
  8. 25 10月, 2018 7 次提交