Re: [PATCH] mmc: sdhci: Fix incorrect switch to HS mode

2019-09-19 Thread Alan Cooper
This does correct the sequence of switching to HS400 but it might be safest to just add this to the latest until it gets a little testing to make sure it doesn't expose some bug in existing controllers. Thanks Al On Tue, Sep 3, 2019 at 10:52 AM Ulf Hansson wrote: > > On Tue, 3 Sep 2019 at

Re: [PATCH] mmc: sdhci: Fix incorrect switch to HS mode

2019-09-03 Thread Ulf Hansson
On Tue, 3 Sep 2019 at 13:51, Al Cooper wrote: > > When switching from any MMC speed mode that requires 1.8v > (HS200, HS400 and HS400ES) to High Speed (HS) mode, the system > ends up configured for SDR12 with a 50MHz clock which is an illegal > mode. > > This happens because the

[PATCH] mmc: sdhci: Fix incorrect switch to HS mode

2019-09-03 Thread Al Cooper
When switching from any MMC speed mode that requires 1.8v (HS200, HS400 and HS400ES) to High Speed (HS) mode, the system ends up configured for SDR12 with a 50MHz clock which is an illegal mode. This happens because the SDHCI_CTRL_VDD_180 bit in the SDHCI_HOST_CONTROL2 register is left set and