From: Chris Morgan Date: Fri, 25 Mar 2022 17:09:22 +0000 (-0500) Subject: rockchip: clk: add clocks to px30_clk_enable X-Git-Tag: v2022.07~97^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0abb5b0426e5c20bdbb5748196569a2b5533d711;p=platform%2Fkernel%2Fu-boot.git rockchip: clk: add clocks to px30_clk_enable Add the HCLK_OTG, HCLK_SFC, and SCLK_SFC clocks to px30_clk_enable. Without this change U-Boot reports an error of "Enable clock-controller@ff2b0000 failed" on boot when using the SFC or USB in U-Boot. Signed-off-by: Chris Morgan Reviewed-by: Kever Yang --- diff --git a/drivers/clk/rockchip/clk_px30.c b/drivers/clk/rockchip/clk_px30.c index ea874e3..5d46744 100644 --- a/drivers/clk/rockchip/clk_px30.c +++ b/drivers/clk/rockchip/clk_px30.c @@ -1403,10 +1403,13 @@ static int px30_clk_enable(struct clk *clk) { switch (clk->id) { case HCLK_HOST: + case HCLK_OTG: + case HCLK_SFC: case SCLK_GMAC: case SCLK_GMAC_RX_TX: case SCLK_MAC_REF: case SCLK_MAC_REFOUT: + case SCLK_SFC: case ACLK_GMAC: case PCLK_GMAC: case SCLK_GMAC_RMII: