1. 09 Apr, 2021 4 commits
  2. 08 Apr, 2021 33 commits
  3. 29 Mar, 2021 2 commits
  4. 13 Mar, 2021 1 commit
    • Douglas Anderson's avatar
      clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk · 148ddaa8
      Douglas Anderson authored
      While picking commit a8cd989e ("mmc: sdhci-msm: Warn about
      overclocking SD/MMC") back to my tree I was surprised that it was
      reporting warnings.  I thought I fixed those!  Looking closer at the
      fix, I see that I totally bungled it (or at least I halfway bungled
      it).  The SD card clock got fixed (and that was the one I was really
      focused on fixing), but I totally adjusted the wrong clock for eMMC.
      Sigh.  Let's fix my dumb mistake.
      
      Now both SD and eMMC have floor for the "apps" clock.
      
      This doesn't matter a lot for the final clock rate for HS400 eMMC but
      could matter if someone happens to put some slower eMMC on a sc7180.
      We also transition through some of these lower rates sometimes and
      having them wrong could cause problems during these transitions.
      These were the messages I was seeing at boot:
        mmc1: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
        mmc1: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
        mmc1: Card appears overclocked; req 104000000 Hz, actual 192000000 Hz
      
      Fixes: 6d37a8d1 ("clk: qcom: gcc-sc7180: Use floor ops for sdcc clks")
      Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
      Link: https://lore.kernel.org/r/20210224095013.1.I2e2ba4978cfca06520dfb5d757768f9c42140f7c@changeidReviewed-by: default avatarTaniya Das <tdas@codeaurora.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      148ddaa8