Files
kernel_xiaomi_raphael/include/uapi/linux
Rick Adams baa19dec9e 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>
2017-07-28 08:02:50 -07:00
..
2016-10-18 10:05:42 -06:00
2017-07-03 02:22:52 -07:00
2017-06-20 06:54:34 -03:00
2015-08-25 14:41:50 -05:00
2016-10-01 07:32:32 +02:00
2015-12-14 12:19:37 -06:00
2017-03-25 20:11:19 -07:00
2017-04-24 12:35:56 -04:00
2017-01-10 14:05:11 -05:00
2017-06-23 13:42:20 -04:00
2017-02-03 15:16:45 -05:00
2016-11-03 15:41:11 -04:00
2016-11-03 15:41:11 -04:00
2017-07-11 09:34:35 -07:00
2016-03-22 15:36:02 -07:00
2016-06-27 16:31:25 +01:00
2017-06-08 08:40:00 -06:00
2017-07-06 16:24:30 -07:00
2015-08-03 17:30:00 -07:00
2017-01-17 14:38:43 -05:00
2017-05-30 08:20:25 -06:00
2017-02-20 11:13:37 -05:00
2015-07-20 14:58:46 -04:00
2016-05-17 17:14:21 -06:00
2016-09-27 21:52:00 -04:00
2016-09-27 21:52:00 -04:00
2015-09-04 16:54:41 -07:00
2016-04-26 12:00:48 -04:00
2017-07-01 15:26:11 -07:00
2017-01-09 16:07:38 -05:00
2016-04-04 22:11:20 -04:00
2017-03-09 15:42:33 +01:00
2017-01-10 18:31:55 -08:00
2017-06-15 12:12:40 -04:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2017-06-05 16:58:59 +02:00
2017-03-31 12:55:06 +02:00
2016-12-16 00:13:38 +02:00
2016-12-16 00:13:32 +02:00
2017-04-24 12:35:56 -04:00
2016-04-30 09:26:55 -07:00