On Tue, Nov 21, 2017 at 07:54:26PM +0800, Chris Chiu wrote: > Yup, I checked the value of the corresponded pin. It shows following before > suspend > pin 18 (GPIO_18) GPIO 0x40800102 0x00024075 > > Then after resume > pin 18 (GPIO_18) GPIO 0x40800102 0x00024075 [ACPI] OK, so ownership is changed to ACPI. > What else register do you suggest me to compare? The PADCFG2 is invalid It's fine APL does not have PADCFG2. Hmm, I don't understand how this can work in Windows either. The Windows people told me that they don't save and restore anything else than padcfg registers + ie. If the ownership is changed to ACPI it means you don't get interrupts anymore (only GPEs) and that applies to Windows as well. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html