Auto-wake behavior when external power is connected
#4
If I had to guess, I would say it's the PMIC interrupt from the RK808 that notifies the OS of a power management event:

15.2.5.4 INT_STS_MSK_REG2 : Interrupt Status Register #2
Bit 1 PLUG_OUT_INT_IM: Charger plug out event interrupt mask.
1: Mask the interrupt
0: Do not mask the interrupt
Bit 0 PLUG_IN_INT_IM: Charger plug in event interrupt mask
1: Mask the interrupt
0: Do not mask the interruptk

In normal operation you want to handle those to know that a charger is present, in suspend probably those and other PMIC IRQs should be masked.
The question is, where in the software stack is this handled exactly, ATF or Linux?
Come have a chat in the Pine IRC channel >>


Messages In This Thread
RE: Auto-wake behavior when external power is connected - by xalius - 11-08-2019, 12:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro on Debian 12 Power Issue u974615 1 3,434 03-13-2024, 10:46 AM
Last Post: u974615
  Increasing the maximum power draw dsimic 15 29,879 11-21-2022, 03:36 AM
Last Post: bircoph
  Alternative Power supply options gallomimia 13 26,159 11-13-2022, 06:10 PM
Last Post: pineymousepad
  PBP booting but stops at flashing power led jonasd 13 12,029 09-26-2022, 12:17 AM
Last Post: jonasd
  Blinking red light for charger, no power-on bifo 11 26,382 11-30-2021, 01:37 PM
Last Post: wdt
  power on PBP if your keyboard is dead? stozi 0 2,791 11-29-2021, 01:55 PM
Last Post: stozi
  Motherboard malfunction - a possible warning about power supplies mjc 8 12,862 07-28-2021, 01:04 PM
Last Post: mjc
Question External Monitor not Working sciolus 5 9,064 05-05-2021, 02:05 AM
Last Post: aurora.borealis
Question UK Power Supply User 11436 11 24,882 02-09-2021, 12:30 PM
Last Post: dieselnutjob
  Pinebook Pro Dock Power Requirements calinb 9 18,718 12-16-2020, 09:24 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)