Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1489786
| From | Pramod Gurav <pramod.gurav@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support |
| Date | 2016-09-23 08:30 +0200 |
| Message-ID | <sks9H-7L-9@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <sfr4B-1xy-7@gated-at.bofh.it> <shzKq-4a4-19@gated-at.bofh.it> <shC5z-5KS-17@gated-at.bofh.it> <shFmO-7Jn-17@gated-at.bofh.it> <skdkl-7zs-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Ritesh, Thanks for the inputs. On 22 September 2016 at 20:02, Ritesh Harjani <riteshh@codeaurora.org> wrote: > Hi Pramod, <snip> >> Thanks Ulf for the comments. Will check this and see if there is >> something of this sort we have to do to achieve auto tuning. >> Adding Ritesh who has been posting some SDHCI MSM patches recently in >> case he knows about this. > > > Internally, we don't use this Auto re-tuning and rely on explicit re-tune by > host driver. > > Question though - > 1. why do we need to call sdhci_runtime_resume/suspend from > sdhci_msm_runtime_suspend/resume? > From what I see is, sdhci_runtime_susend/resume will do reset and re-program > of host->pwr and host->clk because of which a retune will be required for > the next command after runtime resume. Honestly I took reference from existing SDHCI HC driver which implement the runtime PM and each one uses this function. > > We can *only* disable and enable the clocks in > sdhci_msm_runtime_suspend/resume? > Thoughts? With this, I suppose you would not see any issue. This should work as I did not have this funtion call in my V1 but later included when I referred the other sdhci drivers. > > > Though for this issue, since internally also auto retuning is never used, we > can have this mode disabled. I can once again check with HW team to get more > details about this mode for MSM controller. This seems a read only register. And I could not find any other reference of this mode in any of the docs. > >> >> Regards, >> Pramod >> >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Pramod Gurav <pramod.gurav@linaro.org> - 2016-09-15 10:00 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Ulf Hansson <ulf.hansson@linaro.org> - 2016-09-15 12:30 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Pramod Gurav <pramod.gurav@linaro.org> - 2016-09-15 16:00 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Ritesh Harjani <riteshh@codeaurora.org> - 2016-09-22 16:40 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Pramod Gurav <pramod.gurav@linaro.org> - 2016-09-23 08:30 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Ulf Hansson <ulf.hansson@linaro.org> - 2016-09-23 12:10 +0200
Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support Ritesh Harjani <riteshh@codeaurora.org> - 2016-09-27 06:50 +0200
csiph-web