On 10 April 2018 at 09:00, Harish Jenny K N <harish_kandiga@xxxxxxxxxx> wrote: > From: Diwakar Sharma <diwakar.sharma@xxxxxxxxxxxx> > > This patch uses limit clock rate quirk to reduce clock rate > for "SDR104" mode on IMX side for Marvell 8887 > WiFi + Bluetooth chip side, as Marvell does not recommend > to use SDIO at the speed of higher than 150MHz. > > Signed-off-by: Diwakar Sharma <diwakar.sharma@xxxxxxxxxxxx> > Signed-off-by: Harish Jenny K N <harish_kandiga@xxxxxxxxxx> Thanks, queued for 4.18! Kind regards Uffe > --- > drivers/mmc/core/quirks.h | 3 +++ > include/linux/mmc/sdio_ids.h | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/drivers/mmc/core/quirks.h b/drivers/mmc/core/quirks.h > index 5153577..dd2f73a 100644 > --- a/drivers/mmc/core/quirks.h > +++ b/drivers/mmc/core/quirks.h > @@ -132,6 +132,9 @@ > SDIO_FIXUP(SDIO_VENDOR_ID_MARVELL, SDIO_DEVICE_ID_MARVELL_8797_F0, > add_quirk, MMC_QUIRK_BROKEN_IRQ_POLLING), > > + SDIO_FIXUP(SDIO_VENDOR_ID_MARVELL, SDIO_DEVICE_ID_MARVELL_8887WLAN, > + add_limit_rate_quirk, 150000000), > + > END_FIXUP > }; > > diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h > index cdd66a5..2836a96 100644 > --- a/include/linux/mmc/sdio_ids.h > +++ b/include/linux/mmc/sdio_ids.h > @@ -55,6 +55,7 @@ > #define SDIO_DEVICE_ID_MARVELL_8688WLAN 0x9104 > #define SDIO_DEVICE_ID_MARVELL_8688BT 0x9105 > #define SDIO_DEVICE_ID_MARVELL_8797_F0 0x9128 > +#define SDIO_DEVICE_ID_MARVELL_8887WLAN 0x9134 > > #define SDIO_VENDOR_ID_SIANO 0x039a > #define SDIO_DEVICE_ID_SIANO_NOVA_B0 0x0201 > -- > 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