Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-12-02 Thread Xiaolong Zhang
On 二, 11月 29, 2016 at 01:10:54下午 -0800, Stephen Boyd wrote: > On 11/24, Xiaolong Zhang wrote: > > On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > > > > > We're really off track now though. Can you please point to some > > > code that needs this change? If we're using DT then we

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-12-02 Thread Xiaolong Zhang
On 二, 11月 29, 2016 at 01:10:54下午 -0800, Stephen Boyd wrote: > On 11/24, Xiaolong Zhang wrote: > > On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > > > > > We're really off track now though. Can you please point to some > > > code that needs this change? If we're using DT then we

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-29 Thread Stephen Boyd
On 11/24, Xiaolong Zhang wrote: > On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > > > We're really off track now though. Can you please point to some > > code that needs this change? If we're using DT then we should be > > able to use the of_clk_*() path to find the clk. > > > >

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-29 Thread Stephen Boyd
On 11/24, Xiaolong Zhang wrote: > On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > > > We're really off track now though. Can you please point to some > > code that needs this change? If we're using DT then we should be > > able to use the of_clk_*() path to find the clk. > > > >

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-23 Thread Xiaolong Zhang
On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > On 11/12, Xiaolong Zhang wrote: > > On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > > > On 10/22, Xiaolong Zhang wrote: > > > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > > > On 10/11, Orson Zhai

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-23 Thread Xiaolong Zhang
On 三, 11月 23, 2016 at 04:38:33下午 -0800, Stephen Boyd wrote: > On 11/12, Xiaolong Zhang wrote: > > On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > > > On 10/22, Xiaolong Zhang wrote: > > > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > > > On 10/11, Orson Zhai

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-23 Thread Stephen Boyd
On 11/12, Xiaolong Zhang wrote: > On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > > On 10/22, Xiaolong Zhang wrote: > > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > > On 10/11, Orson Zhai wrote: > > > > > From: Xiaolong Zhang > >

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-23 Thread Stephen Boyd
On 11/12, Xiaolong Zhang wrote: > On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > > On 10/22, Xiaolong Zhang wrote: > > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > > On 10/11, Orson Zhai wrote: > > > > > From: Xiaolong Zhang > > > > > > > > > > When common

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-11 Thread Xiaolong Zhang
On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > On 10/22, Xiaolong Zhang wrote: > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > On 10/11, Orson Zhai wrote: > > > > From: Xiaolong Zhang > > > > > > > > When common kernel setups

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-11-11 Thread Xiaolong Zhang
On 二, 10月 25, 2016 at 08:40:08下午 +, Stephen Boyd wrote: > On 10/22, Xiaolong Zhang wrote: > > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > > On 10/11, Orson Zhai wrote: > > > > From: Xiaolong Zhang > > > > > > > > When common kernel setups fixed clock, of_clk_provider will

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-25 Thread Stephen Boyd
On 10/22, Xiaolong Zhang wrote: > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > On 10/11, Orson Zhai wrote: > > > From: Xiaolong Zhang > > > > > > When common kernel setups fixed clock, of_clk_provider will be > > > registerred. > > > But there

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-25 Thread Stephen Boyd
On 10/22, Xiaolong Zhang wrote: > On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > > On 10/11, Orson Zhai wrote: > > > From: Xiaolong Zhang > > > > > > When common kernel setups fixed clock, of_clk_provider will be > > > registerred. > > > But there is no clkdev being registerred

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-22 Thread Xiaolong Zhang
On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > On 10/11, Orson Zhai wrote: > > From: Xiaolong Zhang > > > > When common kernel setups fixed clock, of_clk_provider will be registerred. > > But there is no clkdev being registerred at the same time.

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-22 Thread Xiaolong Zhang
On 四, 10月 20, 2016 at 04:01:03下午 -0700, Stephen Boyd wrote: > On 10/11, Orson Zhai wrote: > > From: Xiaolong Zhang > > > > When common kernel setups fixed clock, of_clk_provider will be registerred. > > But there is no clkdev being registerred at the same time. This will make > > it difficult to

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-20 Thread Stephen Boyd
On 10/11, Orson Zhai wrote: > From: Xiaolong Zhang > > When common kernel setups fixed clock, of_clk_provider will be registerred. > But there is no clkdev being registerred at the same time. This will make > it difficult to get the clock by using clk_get(NULL,

Re: [PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-20 Thread Stephen Boyd
On 10/11, Orson Zhai wrote: > From: Xiaolong Zhang > > When common kernel setups fixed clock, of_clk_provider will be registerred. > But there is no clkdev being registerred at the same time. This will make > it difficult to get the clock by using clk_get(NULL, con_id). > > Add clkdev register

[PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-11 Thread Orson Zhai
From: Xiaolong Zhang When common kernel setups fixed clock, of_clk_provider will be registerred. But there is no clkdev being registerred at the same time. This will make it difficult to get the clock by using clk_get(NULL, con_id). Add clkdev register for

[PATCH] clk: Register clkdev after setup of fixed-rate and fixed-factor clocks

2016-10-11 Thread Orson Zhai
From: Xiaolong Zhang When common kernel setups fixed clock, of_clk_provider will be registerred. But there is no clkdev being registerred at the same time. This will make it difficult to get the clock by using clk_get(NULL, con_id). Add clkdev register for fixed-rate and fixed-factor clock and