An error occurred fetching the project authors.
  1. 30 Aug, 2017 7 commits
  2. 17 Jul, 2017 1 commit
  3. 24 Apr, 2017 2 commits
  4. 13 Feb, 2017 7 commits
  5. 29 Nov, 2016 1 commit
  6. 26 Sep, 2016 7 commits
  7. 02 Jun, 2016 2 commits
  8. 28 Apr, 2016 1 commit
  9. 29 Feb, 2016 7 commits
  10. 26 Oct, 2015 1 commit
  11. 29 Sep, 2015 1 commit
    • Hans de Goede's avatar
      mmc: sunxi: Fix clk-delay settings · 51424b28
      Hans de Goede authored
      In recent allwinner kernel sources the mmc clk-delay settings have been
      slightly tweaked, and for sun9i they are completely different then what
      we are using.
      
      This commit brings us in sync with what allwinner does, fixing problems
      accessing sdcards on some A33 devices (and likely others).
      
      For pre sun9i hardware this makes the following changes:
      -At 400Khz change the sample delay from 7 to 0 (introduced in A31 sdk)
      -At 50 Mhz change the sample delay from 5 to 4 (introduced in A23 sdk)
      
      This also drops the clk-delay calculation for clocks > 50 MHz, we do
      not need this as we've: mmc->f_max = 50000000, and the delays in the
      old code were not correct (at 100 MHz the delay must be a multiple of 60,
      at 200 MHz a multiple of 120).
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      51424b28
  12. 27 Aug, 2015 1 commit
  13. 23 Mar, 2015 2 commits
    • Hans de Goede's avatar
      mmc: sunxi: add MMC_CAP_SDIO_IRQ capability · a4101dcb
      Hans de Goede authored
      When the sunxi mmc-controller code was initially merged MMC_CAP_SDIO_IRQ was
      not added to the host caps because of issues with some sdio wifi modules.
      
      It turns out that these issues have nothing to do with using sdio-irq support,
      they also happen with oob interrupts. Since the hardware supports sdio-irq
      everywhere, and since the one reason to not claim the capability is gone,
      add MMC_CAP_SDIO_IRQ to the default host caps.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      a4101dcb
    • Arnd Bergmann's avatar
      mmc: sunxi: avoid invalid pointer calculation · d34712d2
      Arnd Bergmann authored
      The sunxi mmc driver tries to calculate a dma address by using pointer
      arithmetic, which causes a warning when dma_addr_t is wider than a pointer:
      
      drivers/mmc/host/sunxi-mmc.c: In function 'sunxi_mmc_init_idma_des':
      drivers/mmc/host/sunxi-mmc.c:296:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        struct sunxi_idma_des *pdes_pa = (struct sunxi_idma_des *)host->sg_dma;
                                         ^
      
      To avoid this warning and to simplify the logic, this changes
      the code to avoid the cast and calculate the correct address
      manually. The behavior should be unchanged.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarDavid Lanzendörfer <david.lanzendoerfer@o2s.ch>
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      d34712d2