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 228 03-13-2024, 10:46 AM
Last Post: u974615
  Increasing the maximum power draw dsimic 15 19,146 11-21-2022, 03:36 AM
Last Post: bircoph
  Alternative Power supply options gallomimia 13 17,567 11-13-2022, 06:10 PM
Last Post: pineymousepad
  PBP booting but stops at flashing power led jonasd 13 5,129 09-26-2022, 12:17 AM
Last Post: jonasd
  Blinking red light for charger, no power-on bifo 11 13,340 11-30-2021, 01:37 PM
Last Post: wdt
  power on PBP if your keyboard is dead? stozi 0 1,282 11-29-2021, 01:55 PM
Last Post: stozi
  Motherboard malfunction - a possible warning about power supplies mjc 8 6,887 07-28-2021, 01:04 PM
Last Post: mjc
Question External Monitor not Working sciolus 5 4,889 05-05-2021, 02:05 AM
Last Post: aurora.borealis
Question UK Power Supply User 11436 11 17,093 02-09-2021, 12:30 PM
Last Post: dieselnutjob
  Pinebook Pro Dock Power Requirements calinb 9 11,882 12-16-2020, 09:24 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)