diff options
| author | David Lin <[email protected]> | 2016-07-12 17:41:21 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-07-16 07:58:52 +0900 |
| commit | 1f77b363bef417e28d8556a11c9a82f3e6cf24f0 (patch) | |
| tree | 6fc4cc15c512e32c7fa762015c2c5b11c0ac42a5 /tools/perf/scripts/python | |
| parent | 47becc556d4e8dc5bcd370100edebd6ad749b702 (diff) | |
greybus: hd: arche-platform: implement greybus shutdown
Implement platform driver shutdown callback to perform proper greybus
shutdown so that the userspace unipro_shutdown service that shuts down
the APB/SVC abruptly can be removed. The shutdown callback in
arche-platform will first remove SVC so that all the Interface can be
Deactivated in a sequence according to the spec before powering off the
APB:
Before:
-> Arche/APB power off
-> SoC power off
After this patch:
-> HD shutdown
-> SVC shutdown
-> Module shutdown
-> Interface shutdown
-> Bundle shutdown
-> Arche/APB power off
-> SoC power off
Testing Done:
- Observe all Interfaces are deactivated in the log during shutdown
- Measure power off current and make sure no regression
Signed-off-by: David Lin <[email protected]>
Reviewed-by: Vaibhav Hiremath <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions