History log of /fuchsia/zircon/system/dev/block/sdmmc/mmc.c
Revision Date Author Comments
# 6f12bca8 14-Sep-2018 Ruchira Ravoori <ravoorir@google.com>

[zircon][sdio]Perform tuning when setting ultra high speed

Currently on VIM2, at times, the wifi chipset does not run all the way.
This is mainly being attributed to power issues. Although not related,
switching to ultra-high speed in sdio is disabled as a safety measure
until the wifi stack is more stable. This changeset adds tuning
procedure when switching to ultra-high speed. Tuning procedure helps
determine any read delays required and the right frequency when the
ultra-high speed is re-enabled.

Test: On vim2, enabled ultra high speed and verified the wifi functionality.

Change-Id: I32f0dbafbcdde32c7d220e38a1c43fc57e492284


# 94c462e2 18-May-2018 Abdulla Kamar <abdulla@google.com>

[block][sdmmc] Print correct mhz

Currently it displays "200000000 mhz" instead of "200 mhz".

Change-Id: I46f6ec9605732328e069a5ed54c2fb932d5bbd32


# 2d777a07 03-May-2018 Payam Moradshahi <payamm@google.com>

[block][sdmmc][sdhci] Give the Host Controller the ability to opt out of HS200 and HS400 modes
Currently, we try to run at HS200 and/or HS400 based on card capability and assume the host
supports this mode. However, there are some controllers who don't support these modes.

Change-Id: Id706e42408c1723243699b4d9d44f44224a31058


# 68a37251 20-Apr-2018 Ruchira Ravoori <ravoorir@rodete-desktop-imager.corp.google.com>

[zircon][aml-sd-emmc]Get read/write blocks working on emmc

This is part 2 of emmc work on vim2. Together with
https://fuchsia-review.googlesource.com/c/zircon/+/144353 I am able to read and write
multiple blocks on emmc on vim2. Verified things work as expected on
pixel.

Change-Id: I950d299c850292ab2ac060e53a0dc0656a3ca442


# 829e5f88 02-Apr-2018 Ruchira Ravoori <ravoorir@rodete-desktop-imager.corp.google.com>

[zircon][sdhci] Modify sdmmc code to support amlogic sd controller

Amlogic sdhci controller does not implement sdhci spec. However it can
reuse the layers up and above sdmmc.
This changeset does the following to support amlogic sdhci:
1. Introduce a quirk which takes care of command response being off by one
for pcie sdhci controllers.
2. Move command semantics that are specific to sdhci controller from
sdmmc to sdhci layer

Change-Id: Ic5a00b537575dc7933c06561350f712578fd89b7


# 4459d6f8 10-Jan-2018 Yvonne Yip <yky@google.com>

[dev][sdhci][sdmmc] remove iotxn and cleanup

* switch to new block protocol
* remove iotxn usage
* introduce SDMMC protocol instead of device_ioctl()
* fix PIO mode
* make tuning command less special
* fix various issues where we did not conform to the spec
* comment out bit rotted SD card support for now

Change-Id: I7b8e96d326cfe010d1a8e1355453ac89790d5498


# f4b2ff04 23-Oct-2017 Brian Swetland <swetland@google.com>

[ddk] rename dprintf() to zxlogf() to avoid conflicts

dprintf is still defined by ddk/debug.h but with a deprecation warning

Change-Id: I00b34803571c468007e069c1da6a292feba2bc3c


# b542196e 11-Oct-2017 David Stevens <stevensd@google.com>

[system][mmc] Add support for hs400 mode

Change-Id: I0c992bfdfa89fc3d5259ef77116c8daceb64e535


# 3a5d4371 13-Sep-2017 Yvonne Yip <yky@google.com>

[dev][sdmmc] use ddk/debug.h

Change-Id: Ib48448493f445f2c6ecc057ac137815080f3fbe9


# dacc1d80 12-Sep-2017 Mike Voydanoff <voydanoff@google.com>

[dev] Rename "mxdev" to "zxdev" in ddktl and various drivers.

Change-Id: I000e42c26d9f8379de40447690694a35f6be93e2


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 869e9876 21-Aug-2017 Yvonne Yip <yky@google.com>

[dev][sdmmc] fix CSD parsing

Change-Id: I1d9ae1429e35d1682fa31abeab4a310176e0c036


# 8fa8cc9a 09-Aug-2017 Yvonne Yip <yky@google.com>

[dev][sdmmc] fix CSD parsing

Change-Id: Ie36da212a88c662c1096d69f38993259dbed3e1f


# 8560cf56 05-Jul-2017 Yvonne Yip <yky@google.com>

[dev][sdhci][sdmmc] enable ADMA2

Change-Id: I8786fcee3df1880c7a6f497fd60ab964616643a4


# 7dbc3396 26-Jun-2017 Yvonne Yip <yky@google.com>

[dev][sdmmc][sdhci] enable HS timing and wide bus

Change-Id: Ifaa1026da40ae1555693134a1109ff31e7f6a051


# e1b3aedc 12-Jun-2017 Yvonne Yip <yky@google.com>

[dev][block] enable pci-sdhci and mmc

Supports generic sdhci device on pci, and add basic mmc
support to sdmmc driver.

Currently the mmc driver initializes the card to legacy
timing @ 26mhz, 1-bit data width. Transfers are done
in poll mode only.

Change-Id: I51979e02490e62010033cd3384635614a6570ba8