Rick Adams
f699c92b61
msm: 8x55: put reason for boot in procfs from SMEM
...
During board initialization read the shared memory item
SMEM_POWER_ON_STATUS_INFO and place it in the procfs at
/proc/sys/kernel/boot_reason
The data item is an integer with a bit being set to identify the reason
the device was powered on. The values of this data item is defined in
the document Document/arm/msm/boot.txt, the following is the data in the
documentation file.
power_on_status values set by the PMIC for power on event:
----------------------------------------------------------
0x01 -- keyboard power on
0x02 -- RTC alarm
0x04 -- cable power on
0x08 -- SMPL
0x10 -- Watch Dog timeout
0x20 -- USB charger
0x40 -- Wall charger
0xFF -- error reading power_on_status value
Change-Id: I59e665f92e6e29f7dfef4380314f676a2d92c94b
Signed-off-by: Rick Adams <rgadams@codeaurora.org >
2018-11-08 14:26:42 -08:00
..
2018-08-28 16:46:04 +05:30
2018-07-30 16:21:49 -04:00
2018-07-23 19:18:10 +01:00
2018-08-30 21:40:42 +05:30
2018-07-19 23:26:01 -07:00
2018-10-18 18:29:27 -07:00
2018-08-06 10:24:33 +02:00
2018-08-15 22:54:12 -07:00
2018-08-22 10:52:49 -07:00
2018-08-11 15:46:41 -06:00
2018-07-09 09:07:52 -06:00
2018-08-13 01:02:39 +02:00
2018-07-20 10:25:48 +02:00
2018-07-27 10:40:16 +02:00
2018-07-25 06:59:23 -04:00
2018-09-12 19:46:21 -07:00
2018-07-29 12:53:54 -07:00
2018-07-12 17:37:13 -07:00
2018-07-19 19:39:08 -07:00
2018-07-19 13:58:44 -07:00
2018-07-04 22:30:28 +09:00
2018-06-27 11:37:18 -07:00
2018-08-07 12:15:03 -07:00
2018-07-15 14:03:06 +02:00
2018-07-15 13:55:47 +02:00
2018-08-28 17:10:42 +05:30
2018-07-29 12:57:26 -07:00
2018-06-29 11:32:55 +09:00
2018-06-27 19:21:25 +02:00
2018-09-18 20:07:53 -07:00
2018-07-17 15:33:47 +02:00
2018-07-19 19:39:08 -07:00
2018-07-29 12:37:06 -07:00
2018-08-28 17:10:42 +05:30
2018-07-26 17:04:37 -07:00
2018-07-07 17:41:38 +02:00
2018-09-25 13:28:58 +02:00
2018-07-14 19:05:58 -04:00
2018-08-06 17:59:22 +02:00
2018-09-20 00:51:46 +02:00
2018-08-03 10:03:57 -07:00
2018-08-28 17:10:42 +05:30
2018-08-02 06:04:57 -04:00
2018-07-27 07:52:39 -04:00
2018-10-05 16:32:04 -07:00
2018-07-24 14:41:08 -07:00
2018-10-05 16:32:04 -07:00
2018-07-13 14:21:16 -07:00
2018-07-19 19:39:08 -07:00
2018-10-18 15:40:29 -07:00
2018-10-18 15:40:29 -07:00
2018-10-23 08:52:04 -07:00
2018-10-18 15:40:29 -07:00
2018-07-09 16:31:28 -07:00
2018-07-29 12:37:06 -07:00
2018-08-03 21:15:09 +02:00
2018-06-30 21:08:12 +09:00
2018-07-08 11:13:25 +09:00
2018-08-15 14:59:06 -05:00
2018-07-19 11:46:57 +01:00
2018-09-10 10:03:02 +02:00
2018-08-07 12:22:15 -07:00
2018-07-24 14:44:00 -07:00
2018-07-31 19:56:42 +10:00
2018-08-11 12:13:49 -07:00
2018-08-28 17:10:42 +05:30
2018-09-02 16:14:44 -07:00
2018-07-10 22:18:52 +02:00
2018-07-23 20:44:12 -07:00
2018-10-16 09:58:49 -07:00
2018-10-05 16:32:04 -07:00
2018-10-07 21:06:28 -07:00
2018-08-05 17:16:46 -07:00
2018-11-08 14:26:42 -08:00
2018-08-01 09:56:10 -07:00
2018-06-24 14:39:46 +02:00
2018-06-30 21:05:42 +09:00
2018-10-08 15:45:18 +01:00
2018-07-27 06:39:57 -04:00
2018-07-04 09:32:22 -04:00
2018-07-24 17:39:28 -04:00
2018-09-03 21:23:24 -07:00
2018-08-02 06:07:05 -04:00
2018-06-23 16:07:15 +02:00