blob: 1a41cd53202072129f784443f3d551fedd49dbd3 [file] [log] [blame]
Rick Adamsea449ff2010-09-28 10:21:07 -07001Introduction
2=============
3The power management integrated circuit (PMIC) records the reason the
4Application processor was powered on in Shared Memory.
5The hardware and software used is the shared memory interface. This document
6is not for the purpose of describing this interface, but to identify the
7possible values for this data item.
8
9Description
10===========
11Shared memory item (SMEM_POWER_ON_STATUS_INFO) is read to get access to
12this data. The table below identifies the possible values stored.
13
14power_on_status values set by the PMIC for power on event:
15----------------------------------------------------------
160x01 -- keyboard power on
170x02 -- RTC alarm
180x04 -- cable power on
190x08 -- SMPL
200x10 -- Watch Dog timeout
210x20 -- USB charger
220x40 -- Wall charger
230xFF -- error reading power_on_status value