I got this from l4t document:
Deep Sleep (SC7) offers a small amount of configurability. For example, prior to entering Deep Sleep, software can select which of the many hardware wake events can wake the chip from Deep Sleep.
How can I use software to select which wake events can wake the chip from deep sleep?
you should have the system awakened from deep sleep by those common wakeup sources.
for example, please insert or remove SD card to wake from deep sleep.
If I want to diable SD card and USB events to wake up from sleep mode, how should I do? We dont want other wakeup sources (only power key) to wake up chip from sleep mode.
you may modify the device tree to remove wakeup pin settings.
taking SD card as an example, there’s nvidia,cd-wakeup-capable device tree property for setting a pin to enable card detect event as wake source.
I found my device will wake up from sleep quickly with below logs. Looks it is waked up by USB device 3610000.xhci. But I can’t find out where I can config USB with NO wakup in dts files.