RE: [PATCH v3] ARM: ls1021a: add gating clocks to IP blocks.
From: Li.Xiubo@xxxxxxxxxxxxx
Date: Thu Sep 25 2014 - 23:14:35 EST
> > > As the parent of the clocks registered by this function is "dummy" from
> > > what I see, what is the point of setting flag CLK_SET_RATE_PARENT then?
> > >
> > > > + CLK_IGNORE_UNUSED, reg, shift,
> > >
> > > Why flag CLK_IGNORE_UNUSED?
> > >
> >
> > As the SoC reference manual all the IP blocks will be enabled when powered
> up.
> > But the Linux OS will disable all the IP blocks' clocks as default without
> this.
> >
> > For now, this gate driver will only used for PM support of some IP blocks.
> For the
> > Others needed to be enabled as default.
>
> Ok, got it. I'm fine with the flag then, and we can remove it after all
> those client devices manage their clocks well.
>
Okay.
Thanks,
BRs
Xiubo
> Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/