All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] rockchip: clk: rk3399: allow requests for all UART clocks
Date: Mon, 27 May 2019 14:48:09 +0800	[thread overview]
Message-ID: <6d1bf815-8318-42dd-b971-64d9338daf29@rock-chips.com> (raw)
In-Reply-To: <20190507085844.49172-3-christoph.muellner@theobroma-systems.com>



On 05/07/2019 04:58 PM, Christoph Muellner wrote:
> 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 <christoph.muellner@theobroma-systems.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
>  drivers/clk/rockchip/clk_rk3399.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c
> index 93a652e5ff..aa6a8ad1c9 100644
> --- a/drivers/clk/rockchip/clk_rk3399.c
> +++ b/drivers/clk/rockchip/clk_rk3399.c
> @@ -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:

  parent reply	other threads:[~2019-05-27  6:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07  8:58 [U-Boot] [PATCH 1/3] rockchip: pinctrl: rk3399: Add support for UART3 Christoph Muellner
2019-05-07  8:58 ` [U-Boot] [PATCH 2/3] rockchip: rk3399: Add option to print on UART3 Christoph Muellner
2019-05-18 16:07   ` Simon Glass
2019-05-27  6:47   ` Kever Yang
2019-06-01  2:37     ` Kever Yang
2019-05-07  8:58 ` [U-Boot] [PATCH 3/3] rockchip: clk: rk3399: allow requests for all UART clocks Christoph Muellner
2019-05-18 16:07   ` Simon Glass
2019-05-27  6:48   ` Kever Yang [this message]
2019-06-01  2:37     ` Kever Yang
2019-05-18 16:07 ` [U-Boot] [PATCH 1/3] rockchip: pinctrl: rk3399: Add support for UART3 Simon Glass
2019-05-27  6:47 ` Kever Yang
2019-06-01  2:37   ` Kever Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6d1bf815-8318-42dd-b971-64d9338daf29@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.