[PATCH v3 0/2] mmc: core: sdio: Set SDIO clock to ONLY SDR50(100MHz) for Marvell 8887 chip

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

 



Marvell 8887 WiFi + Bluetooth chip fails with 200MHz SDIO clock which is used
in SDR104 mode, though the Marvell chip announces to support SDR104 mode.
Marvell does not recommend to use SDIO at the speed of higher than 150MHz.

The Marvell 8887 chip uses a MaskRom(IC) which prevents the firmware from
being updated to disable the support of SDR104 and DDR50.

Thus, the current patch solution reduces the SDIO clock of SDR104 to 150MHz.

Tested on a highly modified v3.14 kernel.

The baseline for this patch is:
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/commit/?h=next&id=4472f0fc248e3f0573301f725eff9dc9cde5cb62
"Merge branch 'fixes' into next" on the "next" branch, based on kernel
v4.16-rc5.

Changes in v3:
- Split the commit into two seperating generic quirk and Marvell specific code.
- Addressed review comments from Vladimir.

Changes in v2:
- Set max-frequency to 150M with SDR104 mode

Diwakar Sharma (1):
  mmc: core: sdio: Set SDIO clock of SDR104 to 150MHz for Marvell 8887
    chip

Harish Jenny K N (1):
  mmc: core: Add a new quirk for broken UHS

 drivers/mmc/core/card.h      |  5 +++++
 drivers/mmc/core/quirks.h    |  3 +++
 drivers/mmc/core/sdio.c      | 19 +++++++++++++++++++
 include/linux/mmc/card.h     |  2 ++
 include/linux/mmc/sdio_ids.h |  1 +
 5 files changed, 30 insertions(+)

--
1.9.1


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux