[PATCH v7 06/19] rockchip: clk: add SCLK_UART[0..3] to clk_rk3066.c
Johan Jonker
jbx6244 at gmail.com
Tue Jan 11 22:18:30 CET 2022
Add SCLK_UART[0..3] to clk_rk3066.c in use by the ns16550.c driver.
Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
---
drivers/clk/rockchip/clk_rk3066.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3066.c b/drivers/clk/rockchip/clk_rk3066.c
index 2fc4d5c9..804aa43b 100644
--- a/drivers/clk/rockchip/clk_rk3066.c
+++ b/drivers/clk/rockchip/clk_rk3066.c
@@ -530,6 +530,10 @@ static ulong rk3066_clk_get_rate(struct clk *clk)
case SCLK_TIMER0:
case SCLK_TIMER1:
case SCLK_TIMER2:
+ case SCLK_UART0:
+ case SCLK_UART1:
+ case SCLK_UART2:
+ case SCLK_UART3:
return OSC_HZ;
default:
return -ENOENT;
--
2.20.1
More information about the U-Boot
mailing list