[PATCH 0/2] mmc: renesas_sdhi: upport better HS400 reset from BSP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This small series upports a BSP improvement in a refactored way. The
original patch 15d7abbfc3f0 ("mmc: renesas_sdhi: reset calibration register")
added a new quirk for devices which always should disable HS400
adjustment. This was only applicable for SoCs which either had bad_taps
or needed a calibration table. So, I simply used this logic directly.
This is patch 2.

To achieve this in a readable way, I finally did something I wanted to
do for some time now. Having a helper to check for SDHI quirks. This is
patch 1.

The series has been tested on a Salvator-XS (R-Car M3-N). The patches
are based on mmc/next as of today as they depend on d901e2ba566 ("mmc:
renesas_sdhi: take DMA end interrupts into account").

Let me know what you think!

Happy hacking,

   Wolfram


Wolfram Sang (2):
  mmc: renesas_sdhi: add helper to access quirks
  mmc: renesas_sdhi: better reset from HS400 mode

 drivers/mmc/host/renesas_sdhi.h               |  2 ++
 drivers/mmc/host/renesas_sdhi_core.c          | 18 +++++++++---------
 drivers/mmc/host/renesas_sdhi_internal_dmac.c |  8 ++++----
 3 files changed, 15 insertions(+), 13 deletions(-)

-- 
2.30.2




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux