Re: [PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-11 Thread Doug Anderson
Hi, On Thu, Dec 10, 2020 at 9:56 PM Adrian Hunter wrote: > > On 10/12/20 11:27 pm, Douglas Anderson wrote: > > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > > drivers are rounded _up_ by default inste

Re: [PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-10 Thread Adrian Hunter
On 10/12/20 11:27 pm, Douglas Anderson wrote: > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > drivers are rounded _up_ by default instead of down. We should make > sure SD/MMC clocks are always rounded d

Re: [PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-10 Thread Bjorn Andersson
On Thu 10 Dec 15:27 CST 2020, Douglas Anderson wrote: > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > drivers are rounded _up_ by default instead of down. We should make > sure SD/MMC clocks are always

Re: [PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-10 Thread Stephen Boyd
Quoting Douglas Anderson (2020-12-10 13:27:52) > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > drivers are rounded _up_ by default instead of down. We should make > sure SD/MMC clocks are always rounded

[PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-10 Thread Douglas Anderson
As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use floor ops for sdcc clks"), most clocks handled by the Qualcomm clock drivers are rounded _up_ by default instead of down. We should make sure SD/MMC clocks are always rounded down in the clock drivers. Let's add a warning in the Q