mbox series

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

Message ID 20210603182242.25733-1-rashmi.a@intel.com
Headers show
Series mmc clock-frequency property update and | expand

Message

A, Rashmi June 3, 2021, 6:22 p.m. UTC
From: Rashmi A <rashmi.a@intel.com>

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(-)

Comments

Ulf Hansson June 29, 2021, 3:08 p.m. UTC | #1
On Thu, 3 Jun 2021 at 20:22, <rashmi.a@intel.com> wrote:
>
> From: Rashmi A <rashmi.a@intel.com>
>
> 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
>

Applied for fixes, thanks!

Kind regards
Uffe