diff options
| author | Stefan Wahren <[email protected]> | 2018-05-25 21:24:34 +0200 | 
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2018-06-21 17:17:11 -0700 | 
| commit | be3035e3627d2570de4c2c612ecd095968986437 (patch) | |
| tree | e013cd3b68c45679f2f3194dc87be9c72859fccd /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
ARM: bcm2835: Add GET_THROTTLED firmware property
Recent Raspberry Pi firmware provides a mailbox property to detect
under-voltage conditions. Here is the current definition.
The u32 value returned by the firmware is divided into 2 parts:
  - lower 16-bits are the live value
  - upper 16-bits are the history or sticky value
  Bits:
  0: undervoltage
  1: arm frequency capped
  2: currently throttled
  16: undervoltage has occurred
  17: arm frequency capped has occurred
  18: throttling has occurred
Signed-off-by: Stefan Wahren <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions