omap_hsmmc: Add ADMA support and UHS/HS200/DDR support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | mmc: host: omap_hsmmc: Support pbias and vmmc_aux to switch to 1.8vdrivers/ | +33 | 0 replies | |
| 2/16 | mmc: host: omap_hsmmc: Separate setting voltage capabilities from bus powerdrivers/ | +19 | 0 replies | |
| 3/16 | mmc: host: omap_hsmmc: Remove incorrect voltage switch sequencedrivers/ | +0 | 0 replies | |
| 4/16 | mmc: host: omap_hsmmc: Add voltage switch support for UHS SD carddrivers/ | +170 | 0 replies | |
| 5/16 | mmc: host: omap_hsmmc: Set clk rate to the max frequencydrivers/ | +15 | 0 replies | |
| 6/16 | mmc: host: omap_hsmmc: Add tuning supportdrivers/ | +200 | 0 replies | |
| 7/16 | mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdddrivers/ | +0 | 0 replies | |
| 8/16 | mmc: host: omap_hsmmc: Add software timer when timeout greater than hardware capablilitydrivers/ | +109 | 0 replies | |
| 9/16 | mmc: host: omap_hsmmc: Prepare *set_timing() to be used for iodelay settingdrivers/ | +9 | 0 replies | |
| 10/16 | mmc: host: omap_hsmmc: Add new compatible string to support dra7Documentation/ drivers/ include/ | +12 | 0 replies | |
| 11/16 | mmc: host: omap_hsmmc: Fix error path sequencedrivers/ | +3 | 0 replies | |
| 12/16 | mmc: host: omap_hsmmc: Add support to set IODELAY valuesDocumentation/ drivers/ | +154 | 6 replies | |
| 13/16 | mmc: host: omap_hsmmc: Remove *use_dma* memberdrivers/ | +16 | 0 replies | |
| 14/16 | mmc: host: omap_hsmmc: Enable ADMA2drivers/ include/ | +271 | 0 replies | |
| 15/16 | ARM: dts: dra7: Use new dra7-specific compatible stringarch/ | +4 | 0 replies | |
| 16/16 | ARM: dts: dra7: Add supported MMC/SD modes in MMC dt nodesarch/ arch/ arch/ +2 more | +23 | 0 replies |
Reviews trailers per patch
2 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | A-b |
| 11/16 | |
| 12/16 | A-b |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support
This is the final part of the series originally sent as part of [2].
This series adds UHS, HS200, DDR mode and ADMA support to omap_hsmmc driver used to improve the throughput of MMC/SD in dra7 SoCs.
Changes from [2]:
*) No more updating omap2plus_defconfig or multi_v7_defconfig is
required, so those patches are removed.
*) Addressed Rob Herring's comment on implementing a function
instead of having a macro while getting pinctrl state.
This series is created on top of [3], [4], [5] AND [6]
(i.e after
ARM: dts: omap3-overo: Remove "vqmmc-supply" property from MMC dt node
omap_hsmmc: use mmc_regulator_get_supply() to get regulators omap*: Fixes/Cleanups for MMC devicetree node
ARM: dts: Add iodelay data for MMC)
The functionality implemented in this series was sent before ([1]) but was never followed up since supporting high speed modes in dra7 required IODelay values to be configured. With IODelay driver being merged into kernel, sending it as a fresh series with support for configuring IODelay values.
Suggestions of migrating to sdhci driver (from omap_hsmmc driver) is not addressed since
*) tuning ratio of MMC in dra7 is different from sdhci
*) IOdelay is required for dra7
*) GPIO based card detect is not supported in sdhci
*) Some of the registers don't always have correct values as in sdhci
(like PSTATE).
Supporting all of these in sdhci will result in adding lot of quirks in sdhci driver.
This series has been tested on beagleboard, pandaboard, beaglebone-black, beaglebone, am335x-evm, am437x-evm, dra7xx-evm, dra72x-evm, am571x-idk and am572x-idk.
I can split the series to go into Ulf Hansson's tree and Tony's tree separately if that is required.
[1] -> https://lkml.org/lkml/2015/8/25/213
[2] -> https://lkml.org/lkml/2017/5/19/19
[3] -> https://lkml.org/lkml/2017/6/9/206
[4] -> https://lkml.org/lkml/2017/6/7/169
[5] -> https://www.spinics.net/lists/arm-kernel/msg586215.html /
http://www.spinics.net/lists/devicetree/msg180747.html
[6] -> https://www.mail-archive.com/linux-kernel at vger.kernel.org/msg1423381.html
Kishon Vijay Abraham I (15):
mmc: host: omap_hsmmc: Support pbias and vmmc_aux to switch to 1.8v
mmc: host: omap_hsmmc: Separate setting voltage capabilities from bus
power
mmc: host: omap_hsmmc: Remove incorrect voltage switch sequence
mmc: host: omap_hsmmc: Add voltage switch support for UHS SD card
mmc: host: omap_hsmmc: Set clk rate to the max frequency
mmc: host: omap_hsmmc: Add tuning support
mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd
mmc: host: omap_hsmmc: Prepare *set_timing() to be used for iodelay
setting
mmc: host: omap_hsmmc: Add new compatible string to support dra7
mmc: host: omap_hsmmc: Fix error path sequence
mmc: host: omap_hsmmc: Add support to set IODELAY values
mmc: host: omap_hsmmc: Remove *use_dma* member
mmc: host: omap_hsmmc: Enable ADMA2
ARM: dts: dra7: Use new dra7-specific compatible string
ARM: dts: dra7: Add supported MMC/SD modes in MMC dt nodes
Mugunthan V N (1):
mmc: host: omap_hsmmc: Add software timer when timeout greater than
hardware capablility
.../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 6 + arch/arm/boot/dts/am571x-idk.dts | 1 + arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts | 1 + arch/arm/boot/dts/am57xx-beagle-x15.dts | 6 + arch/arm/boot/dts/am57xx-idk-common.dtsi | 1 + arch/arm/boot/dts/dra7.dtsi | 22 +- drivers/mmc/host/omap_hsmmc.c | 1179 ++++++++++++++++---- include/linux/platform_data/hsmmc-omap.h | 2 + 8 files changed, 1021 insertions(+), 197 deletions(-)
Signature · 1 line
2.11.0