Re: [U-Boot] [PATCH V3 1/4] clk: introduce enable_count

2019-08-25 Thread Peng Fan
Hi Simon, > Subject: Re: [PATCH V3 1/4] clk: introduce enable_count > > Hi Peng, > > On Wed, 21 Aug 2019 at 07:35, Peng Fan wrote: > > > > As what Linux Kernel 5.3.0 provides when enable/disable clk, there is > > an enable_count in clk_core_disable/enable. Introduce enable_count to > > track th

Re: [U-Boot] [PATCH V3 1/4] clk: introduce enable_count

2019-08-23 Thread Simon Glass
Hi Peng, On Wed, 21 Aug 2019 at 07:35, Peng Fan wrote: > > As what Linux Kernel 5.3.0 provides when enable/disable clk, > there is an enable_count in clk_core_disable/enable. Introduce > enable_count to track the clk enable/disable count when > clk_enable/disable for CCF. And Initialize enable_co

[U-Boot] [PATCH V3 1/4] clk: introduce enable_count

2019-08-21 Thread Peng Fan
As what Linux Kernel 5.3.0 provides when enable/disable clk, there is an enable_count in clk_core_disable/enable. Introduce enable_count to track the clk enable/disable count when clk_enable/disable for CCF. And Initialize enable_count to 0 when register the clk. And clk tree dump with enable_coun