]> Git Repo - J-u-boot.git/commitdiff
rockchip: clk: rk3399: allow requests for all UART clocks
authorChristoph Muellner <[email protected]>
Tue, 7 May 2019 08:58:44 +0000 (10:58 +0200)
committerKever Yang <[email protected]>
Thu, 30 May 2019 10:22:35 +0000 (18:22 +0800)
This patch adds the rate for UART1 and UART3 the same way
as already implemented for UART0 and UART2.

This is required for boards, which have their console output
on these UARTs.

Signed-off-by: Christoph Muellner <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
drivers/clk/rockchip/clk_rk3399.c

index 93a652e5ff4d0c9fe48425c4290dc6ffcfb01370..aa6a8ad1c9c88c8998b7009ce3dddafa695dc61a 100644 (file)
@@ -912,7 +912,9 @@ static ulong rk3399_clk_get_rate(struct clk *clk)
                rate = rk3399_spi_get_clk(priv->cru, clk->id);
                break;
        case SCLK_UART0:
+       case SCLK_UART1:
        case SCLK_UART2:
+       case SCLK_UART3:
                return 24000000;
                break;
        case PCLK_HDMI_CTRL:
This page took 0.038613 seconds and 4 git commands to generate.