[Letux-kernel] mixed power management observations

Andreas Kemnade andreas at kemnade.info
Tue Apr 11 22:25:27 CEST 2017


Here are some observations I did with the 4.10 kernel.

Suspend with usb connected in 4.10:
- suspend immediately fails
- bci gets a battery removal interrupt
after failed suspend:
devicemode.sh reenables usb access
setting USBFASTMCHG enables charging again (or replugging)

after some random actions, suspend with usb connected might work but with a quite high suspend current

other things:
-kernel parameter musb_hdrc.preserve_vbus=1 might need a replacement,
 it is not available anywore

- in 3.7 there is in board-omap3gta04.c this piece of code:
  static struct twl4030_ins __initdata sleep_on_seq[] = {
        /* Turn off HFCLKOUT */
        {MSG_SINGULAR(DEV_GRP_P3, RES_HFCLKOUT, RES_STATE_OFF), 2},
        /* Turn OFF VDD1 */
        {MSG_SINGULAR(DEV_GRP_P1, RES_VDD1, RES_STATE_OFF), 2},
        /* Turn OFF VDD2 */
        {MSG_SINGULAR(DEV_GRP_P1, RES_VDD2, RES_STATE_OFF), 2},
        /* Turn OFF VPLL1 */
        {MSG_SINGULAR(DEV_GRP_P1, RES_VPLL1, RES_STATE_OFF), 2},

        {MSG_SINGULAR(DEV_GRP_P1, RES_VINTANA1, RES_STATE_OFF), 2},
        {MSG_SINGULAR(DEV_GRP_P1, RES_VINTANA2, RES_STATE_OFF), 2},
        {MSG_SINGULAR(DEV_GRP_P1, RES_VINTDIG, RES_STATE_OFF), 2},

//      {MSG_SINGULAR(DEV_GRP_P1, RES_REGEN, RES_STATE_OFF), 2},

};

it seems to not exist in devicetree. Is that intentional?
I have neither an idea if it is important nor looked deeply into it... just stumbled upon that. 
I guess that is even persistent across resets.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170411/d4925f32/attachment-0001.asc>


More information about the Letux-kernel mailing list