summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2022-03-25 20:09:22 +0300
committerKever Yang <kever.yang@rock-chips.com>2022-04-18 06:25:12 +0300
commit0abb5b0426e5c20bdbb5748196569a2b5533d711 (patch)
tree955ed77eb7cea0218193d39823022841c89f14c6 /drivers/clk/rockchip
parentf0d49d4f0dba4bd3dc4810dbfc48e315afe023fc (diff)
downloadu-boot-0abb5b0426e5c20bdbb5748196569a2b5533d711.tar.xz
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 <macromorgan@hotmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r--drivers/clk/rockchip/clk_px30.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk_px30.c b/drivers/clk/rockchip/clk_px30.c
index ea874e3f4b..5d467447a1 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: