Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-12-01 Thread Grygorii Strashko
On 12/01/2015 06:07 PM, Tony Lindgren wrote: * Grygorii Strashko [151201 07:09]: On 11/30/2015 06:28 PM, Tony Lindgren wrote: We should be able to make this into an early_platform_device and just have it depend on the source clock muxes. See the omap initcall

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-12-01 Thread Tony Lindgren
* Grygorii Strashko [151201 09:13]: > On 12/01/2015 06:07 PM, Tony Lindgren wrote: > > > >Or am I forgetting some other dependency with our system timers? > > both counter32 and GP timer have to be enabled through sysc registers. > They are in "Force idle" state after

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-12-01 Thread Grygorii Strashko
Hi Tony, On 11/30/2015 06:28 PM, Tony Lindgren wrote: > * Grygorii Strashko [151127 12:11]: >> On 11/20/2015 08:21 PM, Felipe Balbi wrote: >>> Grygorii Strashko writes: Since system clocksource is finally selected by Clocksource core at

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-12-01 Thread Tony Lindgren
* Grygorii Strashko [151201 07:09]: > On 11/30/2015 06:28 PM, Tony Lindgren wrote: > > > > We should be able to make this into an early_platform_device and just > > have it depend on the source clock muxes. See the omap initcall changes > > patches I just posted. > > >

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-11-30 Thread Tony Lindgren
* Grygorii Strashko [151127 12:11]: > Hi Felipe, > > On 11/20/2015 08:21 PM, Felipe Balbi wrote: > > Grygorii Strashko writes: > >> Since system clocksource is finally selected by Clocksource core at > >> fs_initcall stage during boot there

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-11-27 Thread Grygorii Strashko
Hi Felipe, On 11/20/2015 08:21 PM, Felipe Balbi wrote: > Grygorii Strashko writes: >> Since system clocksource is finally selected by Clocksource core at >> fs_initcall stage during boot there are no reasons to initialize >> ti_32k_timer at early boot stages. Hence,

Re: [RFC PATCH] clocksource: ti-32k: convert to platform device

2015-11-20 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > Since system clocksource is finally selected by Clocksource core at > fs_initcall stage during boot there are no reasons to initialize > ti_32k_timer at early boot stages. Hence, ti_32k_timer can be > converted to use platform