[PATCH 13/29] clk: introduce CLK_SET_RATE_PARENT flag

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 17 02:43:08 EDT 2014


On Fri, Mar 14, 2014 at 08:06:41PM +0400, Alexander Shiyan wrote:
> Пятница, 14 марта 2014, 15:32 +01:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> >  include/linux/clk.h | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/include/linux/clk.h b/include/linux/clk.h
> > index 7e5010a..2704b0f 100644
> > --- a/include/linux/clk.h
> > +++ b/include/linux/clk.h
> > @@ -196,6 +196,9 @@ static inline int clk_set_rate(struct clk *clk, unsigned long rate)
> >  #endif
> >  
> >  #ifdef CONFIG_COMMON_CLK
> > +
> > +#define CLK_SET_RATE_PARENT     (1 << 0) /* propagate rate change up one level */
> 
> Lets do it same value as in the kernel, ie  CLK_SET_RATE_PARENT BIT(2)

Ok, can do. Maybe it's better when we add more flags from the kernel.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list