[RFC PATCH v4 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 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=fc167daff581c01ebce8695e9618231cae3561a1
"Merge branch 'fixes' into next" on the "next" branch

Changes in v4:
- Change the patch to RFC
- Make it possible to pick the clock rate depending on the "card id"
as to avoid having one quirk per frequency.

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 limiting clock rate

 drivers/mmc/core/card.h      | 6 ++++++
 drivers/mmc/core/quirks.h    | 3 +++
 drivers/mmc/core/sdio.c      | 6 +++++-
 include/linux/mmc/card.h     | 1 +
 include/linux/mmc/sdio_ids.h | 1 +
 5 files changed, 16 insertions(+), 1 deletion(-)

--
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