mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 06:38:15 +01:00
rockchip: clk: Add mention of four new clocks
These clocks are needed to get MMC running. We don't actually support setting them yet. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
cf5c8d1880
commit
5328af1774
@ -925,7 +925,13 @@ static ulong rk3399_clk_get_rate(struct clk *clk)
|
|||||||
case SCLK_SARADC:
|
case SCLK_SARADC:
|
||||||
rate = rk3399_saradc_get_clk(priv->cru);
|
rate = rk3399_saradc_get_clk(priv->cru);
|
||||||
break;
|
break;
|
||||||
|
case ACLK_VIO:
|
||||||
|
case ACLK_HDCP:
|
||||||
|
case ACLK_GIC_PRE:
|
||||||
|
case PCLK_DDR:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
|
log_debug("Unknown clock %lu\n", clk->id);
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -993,7 +999,13 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate)
|
|||||||
case SCLK_SARADC:
|
case SCLK_SARADC:
|
||||||
ret = rk3399_saradc_set_clk(priv->cru, rate);
|
ret = rk3399_saradc_set_clk(priv->cru, rate);
|
||||||
break;
|
break;
|
||||||
|
case ACLK_VIO:
|
||||||
|
case ACLK_HDCP:
|
||||||
|
case ACLK_GIC_PRE:
|
||||||
|
case PCLK_DDR:
|
||||||
|
return 0;
|
||||||
default:
|
default:
|
||||||
|
log_debug("Unknown clock %lu\n", clk->id);
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user