Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1621685 > unrolled thread

Re: [PATCH 2/2] ARM: dts: imx7: add USDHC NAND clock to SDHC instances

Started byFabio Estevam <festevam@gmail.com>
First post2017-04-12 01:30 +0200
Last post2017-04-12 01:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] ARM: dts: imx7: add USDHC NAND clock to SDHC instances Fabio Estevam <festevam@gmail.com> - 2017-04-12 01:30 +0200

#1621685 — Re: [PATCH 2/2] ARM: dts: imx7: add USDHC NAND clock to SDHC instances

FromFabio Estevam <festevam@gmail.com>
Date2017-04-12 01:30 +0200
SubjectRe: [PATCH 2/2] ARM: dts: imx7: add USDHC NAND clock to SDHC instances
Message-ID<tvdot-5c0-1@gated-at.bofh.it>
On Mon, Apr 10, 2017 at 11:59 PM, Dong Aisheng <dongas86@gmail.com> wrote:

> This is caused by ahb_root_clk gets disabled accidently and system hangs.
>
> Because this patch defines ipg_root_clk earlier before its parent
> (ahb_root_clk) got registered, then it will be marked as a orphan clk
> temporarily. Until the parent ahb_root_clk got registered, the clk core
> will reparent it to the newly found parent. (see __clk_core_init() function).
>
> Due to CLK_SET_RATE_PARENT flag, the ahb clk will be enabled during
> set_parent operation and then disabled after that.
> Then system hang cause we still get no chance to run init_on clks.
>
> I just send out a proper fix patch with correct register sequence.

Excellent, thanks!

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web