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


Groups > linux.kernel > #1621685

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

From Fabio Estevam <festevam@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] ARM: dts: imx7: add USDHC NAND clock to SDHC instances
Date 2017-04-12 01:30 +0200
Message-ID <tvdot-5c0-1@gated-at.bofh.it> (permalink)
References (3 earlier) <triG5-61o-1@gated-at.bofh.it> <trRaO-3jk-19@gated-at.bofh.it> <tsIIa-4VI-15@gated-at.bofh.it> <tsJ1v-51N-1@gated-at.bofh.it> <tuFmO-8iD-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web