Rick Adams | ea449ff | 2010-09-28 10:21:07 -0700 | [diff] [blame] | 1 | Introduction |
| 2 | ============= |
| 3 | The power management integrated circuit (PMIC) records the reason the |
| 4 | Application processor was powered on in Shared Memory. |
| 5 | The hardware and software used is the shared memory interface. This document |
| 6 | is not for the purpose of describing this interface, but to identify the |
| 7 | possible values for this data item. |
| 8 | |
| 9 | Description |
| 10 | =========== |
| 11 | Shared memory item (SMEM_POWER_ON_STATUS_INFO) is read to get access to |
| 12 | this data. The table below identifies the possible values stored. |
| 13 | |
| 14 | power_on_status values set by the PMIC for power on event: |
| 15 | ---------------------------------------------------------- |
| 16 | 0x01 -- keyboard power on |
| 17 | 0x02 -- RTC alarm |
| 18 | 0x04 -- cable power on |
| 19 | 0x08 -- SMPL |
| 20 | 0x10 -- Watch Dog timeout |
| 21 | 0x20 -- USB charger |
| 22 | 0x40 -- Wall charger |
| 23 | 0xFF -- error reading power_on_status value |