1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* The _PTS method (Prepare To Sleep) is called before the OS is
4 * entering a sleep state. The sleep state number is passed in Arg0
9 // NVS has a flag to determine USB policy in S3
11 GP47 = 1 // Enable USB0
13 GP47 = 0 // Disable USB0
16 // NVS has a flag to determine USB policy in S3
18 GP56 = 1 // Enable USB1
20 GP56 = 0 // Disable USB1
24 /* The _WAK method is called on system wakeup */
28 Return(Package(){0,0})