Re: Query regarding clk framework - from .set_rate api

2013-04-01 Thread Rajendra Nayak
 
 Where, the clk_set_rate() seems to be not working, and that's true
 with the current implementation of OMAP/AM33xx clock tree,
 as the CLK_SET_RATE_PARENT flag is not set to any of the clock nodes.
 
 Please note that I am using DEFINE_STRUCT_CLK() macro for defining clocks
 And which doesn't allow you to specify the flags.

Use DEFINE_STRUCT_CLK_FLAGS() then. Its already used in AM33xx clock tree.
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Query regarding clk framework - from .set_rate api

2013-04-01 Thread Hiremath, Vaibhav
 -Original Message-
 From: Nayak, Rajendra
 Sent: Monday, April 01, 2013 4:14 PM
 To: Hiremath, Vaibhav
 Cc: mturque...@linaro.org; Paul Walmsley; Tony Lindgren; linux-
 o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;
 khil...@deeprootsystems.com
 Subject: Re: Query regarding clk framework - from .set_rate api
 
 
  Where, the clk_set_rate() seems to be not working, and that's true
  with the current implementation of OMAP/AM33xx clock tree,
  as the CLK_SET_RATE_PARENT flag is not set to any of the clock nodes.
 
  Please note that I am using DEFINE_STRUCT_CLK() macro for defining
 clocks
  And which doesn't allow you to specify the flags.
 
 Use DEFINE_STRUCT_CLK_FLAGS() then. Its already used in AM33xx clock
 tree.

Its not there in my kernel baseline v3.8.5, that’s why I missed it.
It got merged into v3.9-rc.

I am testing it now, and will update shortly.

Thanks,
Vaibhav
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Query regarding clk framework - from .set_rate api

2013-04-01 Thread Hiremath, Vaibhav

 -Original Message-
 From: Hiremath, Vaibhav
 Sent: Monday, April 01, 2013 4:37 PM
 To: Nayak, Rajendra
 Cc: mturque...@linaro.org; Paul Walmsley; Tony Lindgren; linux-
 o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;
 khil...@deeprootsystems.com
 Subject: RE: Query regarding clk framework - from .set_rate api
 
  -Original Message-
  From: Nayak, Rajendra
  Sent: Monday, April 01, 2013 4:14 PM
  To: Hiremath, Vaibhav
  Cc: mturque...@linaro.org; Paul Walmsley; Tony Lindgren; linux-
  o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;
  khil...@deeprootsystems.com
  Subject: Re: Query regarding clk framework - from .set_rate api
 
  
   Where, the clk_set_rate() seems to be not working, and that's true
   with the current implementation of OMAP/AM33xx clock tree,
   as the CLK_SET_RATE_PARENT flag is not set to any of the clock
 nodes.
  
   Please note that I am using DEFINE_STRUCT_CLK() macro for defining
  clocks
   And which doesn't allow you to specify the flags.
 
  Use DEFINE_STRUCT_CLK_FLAGS() then. Its already used in AM33xx clock
  tree.
 
 Its not there in my kernel baseline v3.8.5, that’s why I missed it.
 It got merged into v3.9-rc.
 
 I am testing it now, and will update shortly.
 

And it works fine...

Sorry for the noise, I should have checked mainline status
before drafting this email.

Thanks,
Vaibhav
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html