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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:05:46 +0000 (16:05 +0200)
commitb85b43c3e4b83e7e6aea76b2450b6d1ea9398bd8
tree5f0e8ecc76039e9a3a14c7b3a58b5a688067e9ed
parenta9d986be494e453a01eb3e5f94c3004990d85b87
phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP

[ Upstream commit 2f2b73a29d2aabf5ad0150856c3e5cb6e04dcfc1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/intel/phy-intel-keembay-emmc.c