phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
authorRashmi A <rashmi.a@intel.com>
Thu, 3 Jun 2021 18:22:42 +0000 (23:52 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Jun 2021 14:45:16 +0000 (16:45 +0200)
commit2f2b73a29d2aabf5ad0150856c3e5cb6e04dcfc1
tree200cd2535837ca35daa86deb94fc93b61f4a3dd0
parentb2af322792d64d3748b9915cbcbd031dd035d7e2
phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP

Since the EMMC clock 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.

Spamming kernel log msg:
"phy phy-20290000.mmc_phy.2: Unsupported rate: 43750000"

Signed-off-by: Rashmi A <rashmi.a@intel.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210603182242.25733-3-rashmi.a@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/phy/intel/phy-intel-keembay-emmc.c