aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2018-08-30 14:50:06 +0300
committerSebastian Reichel <[email protected]>2018-09-16 12:31:48 +0200
commit9f7195da31fb0b0f83dbd6bbe7aa98c889fb865a (patch)
treeb2e2bf2d4a306afc2fc84de7cbebae3fa1106062 /tools/perf/util/scripting-engines/trace-event-perl.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
power: reset: at91-poweroff: switch to slow clock before shutdown
The SAMA5D2 NRST input signal is resynchronized with the SLCK clock and it can take up to 2 SLCK cycles (about 90us) for the internal reset to be effective. During this delay, the VDDCORE current consumption may still be high (application-dependent) with the VDDCORE regulator already OFF. Under such conditions, VDDCORE may operate below its operating range leading to potential register corruption. To prevent such situation, it is recommended to decrease significantly the power consumption of the device once the voltage regulator is turned-off. This can be achieved by operating the device at a much lower low frequency. To solve this switch the master clock to slock clock just before writing shutdown command to shutdown controller. Signed-off-by: Claudiu Beznea <[email protected]> Suggested-by: Patrice Vilchez <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions