From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 3/6] clk: rk3399: Set empty for HCLK_SD assigned-clocks
Date: Tue, 28 Apr 2020 22:13:11 +0800 [thread overview]
Message-ID: <103a67c7-ecff-e902-e363-147ffcc57252@rock-chips.com> (raw)
In-Reply-To: <20200428100019.19155-4-jagan@amarulasolutions.com>
On 2020/4/28 ??6:00, Jagan Teki wrote:
> Due to v5.7-rc1 sync the SD controller nodes in rk3399.dtsi
> have HCLK_SD assigned-clocks which are usually required for
> Linux and don't require to handle them in U-Boot.
>
> assigned-clocks = <&cru HCLK_SD>;
>
> So, mark them as empty in clock otherwise device probe on
> those SD controllers would fail.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> Changes for v2:
> - none
>
> drivers/clk/rockchip/clk_rk3399.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c
> index 1f62376595..d822acace1 100644
> --- a/drivers/clk/rockchip/clk_rk3399.c
> +++ b/drivers/clk/rockchip/clk_rk3399.c
> @@ -996,6 +996,7 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate)
> break;
> case ACLK_VOP1:
> case HCLK_VOP1:
> + case HCLK_SD:
> /**
> * assigned-clocks handling won't require for vopl, so
> * return 0 to satisfy clk_set_defaults during device probe.
next prev parent reply other threads:[~2020-04-28 14:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 10:00 [PATCH v2 0/6] rk3399: Sync linux v5.7-rc1 dts(i) Jagan Teki
2020-04-28 10:00 ` [PATCH v2 1/6] arm64: dts: rk3399-puma: Move u-boot properties into -u-boot.dtsi Jagan Teki
2020-04-28 14:12 ` Kever Yang
2020-04-28 14:12 ` [PATCH v2 1/6] arm64: dts: rk3399-puma: Move u-boot properties into -u-boot.dtsi【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips.com@lists.infradead.org代发】 Kever Yang
2020-04-28 10:00 ` [PATCH v2 2/6] arm64: dts: rk3399-evb: Move u-boot properties into -u-boot.dtsi Jagan Teki
2020-04-28 14:12 ` Kever Yang
2020-04-28 10:00 ` [PATCH v2 3/6] clk: rk3399: Set empty for HCLK_SD assigned-clocks Jagan Teki
2020-04-28 14:13 ` Kever Yang [this message]
2020-04-28 10:00 ` [PATCH v2 4/6] arm64: dts: rk3399: Sync v5.7-rc1 from Linux Jagan Teki
2020-04-28 14:13 ` Kever Yang
2020-04-28 10:00 ` [PATCH v2 5/6] arm: dts: rk3399: Sync roc-pc-mezzanine from v5.7-rc1 Jagan Teki
2020-04-28 14:14 ` Kever Yang
2020-04-28 10:00 ` [PATCH v2 6/6] rk3399: Add ROC-RK3399-PC Mezzanine board Jagan Teki
2020-04-28 14:14 ` 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=103a67c7-ecff-e902-e363-147ffcc57252@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox