Hi Maxime,The main problem I see with this proposal
On Tue, Aug 11, 2015 at 12:02 PM, Maxime Coquelin
How can we pass CLK_ENABLE_HAND_OFF flag to a specific clock on STiAdd the flag to the relevant clocks in the C code, e.g. in
if (!strcmp(name, "clk-icn-cpu"))
init.flags |= CLK_ENABLE_HAND_OFF;
Exactly, this is what I was thinking about.
Could we imagine having a kind of "clocks-enable-hand-off" property we couldYou can imagine doing "flex_flags |= CLK_ENABLE_HAND_OFF" in
use in our clock controller DT node?
st_of_flexgen_setup(), depending on the presence of such a property.
I disagree here because if these clocks get gated the system is dead, so I wouldn't call this a SW Policy.
However, not disabling clocks is a software policy, not a hardware description,
so IMHO it doesn't belong in DT.