Mainline:Broadcom Kona/Clocks: Difference between revisions

import from my personal docs
 
Line 49: Line 49:
Before making any changes to the policy or one of the controls below, the policy engine must first be stopped. Restarting the policy engine will apply the changes to it.
Before making any changes to the policy or one of the controls below, the policy engine must first be stopped. Restarting the policy engine will apply the changes to it.


Starting the policy engine is done by writing to the policy control offset, either: * the ATL (active load) bit for synchronous requests (we wait for the frequency and voltage to stabilize); * or clearing it for asynchronous requests, going into target mode (where the voltage ramps in the background, then the target load is copied to the active load triggering a frequency change).
Starting the policy engine is done by writing to the policy control offset, either:
 
* the ATL (active load) bit for synchronous requests (we wait for the frequency and voltage to stabilize);
* or clearing it for asynchronous requests, going into target mode (where the voltage ramps in the background, then the target load is copied to the active load triggering a frequency change).


The above is more or less abridged from the mainline driver's docs:
The above is more or less abridged from the mainline driver's docs: