[PATCH v2 15/17] clk: rockchip: rk3588: Add limited TMCLK_EMMC clock support
Kever Yang
kever.yang at rock-chips.com
Thu Apr 20 12:03:42 CEST 2023
On 2023/4/19 00:46, Jonas Karlman wrote:
> The device tree sdhci node reference the TMCLK_EMMC clock, add limited
> support this clock to rk3588 cru driver. Fixes probe of sdhci driver.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> v2:
> - No change
>
> drivers/clk/rockchip/clk_rk3588.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/rockchip/clk_rk3588.c b/drivers/clk/rockchip/clk_rk3588.c
> index 41e31b61a55b..d0cc19b47883 100644
> --- a/drivers/clk/rockchip/clk_rk3588.c
> +++ b/drivers/clk/rockchip/clk_rk3588.c
> @@ -1553,6 +1553,7 @@ static ulong rk3588_clk_get_rate(struct clk *clk)
> case DCLK_DECOM:
> rate = rk3588_mmc_get_clk(priv, clk->id);
> break;
> + case TMCLK_EMMC:
> case TCLK_WDT0:
> rate = OSC_HZ;
> break;
> @@ -1702,6 +1703,7 @@ static ulong rk3588_clk_set_rate(struct clk *clk, ulong rate)
> case DCLK_DECOM:
> ret = rk3588_mmc_set_clk(priv, clk->id, rate);
> break;
> + case TMCLK_EMMC:
> case TCLK_WDT0:
> ret = OSC_HZ;
> break;
More information about the U-Boot
mailing list