On 27 July 2018 at 15:37, Damien Hedde <address@hidden> wrote:
This set of patches add support for power and clock gating in device objects.
It adds two booleans to the state, one for power state and one of clock state.
The state is controlled trough 2 functions, one for power and one for clock.
Two new methods *power_update* and *clock_update* is added to the device class
which are called on state change and can be overriden.
So, you folks at Greensocs had a series a couple of years ago to try
to add clocktree support (which included handling things like guests
configuring clock rates, some clocks being "downstream" of others, and
so on). It didn't make it into mainline, though it did get a fair amount
of design/code review. How does this approach fit into / compare with
that ?
thanks
-- PMM