mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
After cold reset is introduced, the phone is cold reset instead of warm reset, such as panic. In this case, the power up reason saved in shared memory will be lost. Consequently, the power up reason on next boot up time will be normal boot instead of correct ones. To resolve this issue, we can use the two spared pmic registers which are power lost safe to save the restart reason for these cases. Motorola definition of AP panic bit set in extra info pmic reg conflicts with QC definition of Warm reboot bit set in extra info reg move Mot bit to available position to avoid conflict Force a cold reboot for the command "adb reboot bootloader" to avoid the warm boot when user tries to continue boot from boot menu. For early kernel panic before PMIC is initialized, the function qpnp_pon_store_extra_reset_info will fail. Need to set IMEM flag for fail safe in this case. For post-panic, post-wdt, post-pmicwdt reboot, we do cold reset. And set the PMIC register accordingly, to nofity BL the special reboot behavior. Configure panic as warm restart, so that we have chance to get panic logs. According to SR 01277290, 0x88D and 0x88E are spare registers for PMIC where we could store oem specific reset information Ported from: https://gerrit.mot.com/#/c/1211826/ Change-Id: Id3a010b8a52e72180685b1f92491d9616b2cb714 Signed-off-by: Andrew Abbott <drewa@motorola.com> Reviewed-on: https://gerrit.mot.com/1446282 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com> Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1778582 Reviewed-by: Huosheng Liao <liaohs@motorola.com> |
||
| .. | ||
| gameport | ||
| joystick | ||
| keyboard | ||
| misc | ||
| mouse | ||
| rmi4 | ||
| serio | ||
| tablet | ||
| touchscreen | ||
| apm-power.c | ||
| evbug.c | ||
| evdev.c | ||
| ff-core.c | ||
| ff-memless.c | ||
| input-compat.c | ||
| input-compat.h | ||
| input-leds.c | ||
| input-mt.c | ||
| input-polldev.c | ||
| input-poller.c | ||
| input-poller.h | ||
| input.c | ||
| joydev.c | ||
| Kconfig | ||
| Makefile | ||
| matrix-keymap.c | ||
| mousedev.c | ||
| sparse-keymap.c | ||