[“PATCH” 0/2] [KMB] mmc clock-frequency property update and

From: rashmi . a
Date: Thu Jun 03 2021 - 14:22:51 EST


From: Rashmi A <rashmi.a@xxxxxxxxx>

Patch1: If clock-frequency property is set and it is not the same as the
current clock rate of clk_xin(base clock frequency), set clk_xin
to use the provided clock rate.

Patch2: Since the EMMC clock in KMB was changed from 200Mhz to 175Mhz in
FIP,there were some warnings introduced, as the frequency values
being checked was still wrt 200Mhz in code. Hence, the frequency
checks are now updated based on the current 175Mhz EMMC clock
changed in FIP.

Review comments from Adrian Hunter have been incorporated.
Above 2 patches are tested with Keem Bay evaluation module board.

Please help to review this patch set.


Rashmi A (2):
mmc: sdhci-of-arasan: Use clock-frequency property to update clk_xin
phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP

drivers/mmc/host/sdhci-of-arasan.c | 14 ++++++++++++--
drivers/phy/intel/phy-intel-keembay-emmc.c | 3 ++-
2 files changed, 14 insertions(+), 3 deletions(-)

--
2.17.1