Re: [PATCH] clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock

From: Stephen Boyd
Date: Wed Jul 27 2022 - 20:32:02 EST


Quoting Marijn Suijten (2022-07-14 13:38:22)
> In commit 3f905469c8ce ("clk: qcom: gcc: Use floor ops for SDCC clocks")
> floor ops were applied to SDCC2 only, but flooring is also required on
> the SDCC1 apps clock which is used by the eMMC card on Sony's Nile
> platform, and otherwise result in the typicial "Card appears
> overclocked" warnings observed on many other platforms before:
>
> mmc0: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
> mmc0: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
> mmc0: Card appears overclocked; req 104000000 Hz, actual 192000000 Hz
>
> Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660")
> Signed-off-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>