> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SoC sleep validation

Follow this procedure to confirm that the SoC transitions to the expected low-power sleep state during suspend.

<Tabs>
  <Tab title="QCS6490/QCS5430">
    <img src="https://mintcdn.com/qualcomm-prod/OKFyShYzKWv2bmj8/System/Power/media/k2c-perf/power_debug.png?fit=max&auto=format&n=OKFyShYzKWv2bmj8&q=85&s=59c482a5eef8f17573c5ffa402fa9c19" alt="Power Debug" width="1066" height="700" data-path="System/Power/media/k2c-perf/power_debug.png" />

    **Figure: SoC sleep entry workflow**

    <br />

    **Prerequisites**

    1. Register and sign in to the Renesas website. After signing in, download the firmware from the [Renesas UPD720201 Software & Tools](https://www.renesas.com/en/products/upd720201?tab=software-tools) page.

    2. Extract the downloaded firmware package and rename the `K2026090` folder to `renesas_usb_fw`.

    3. Push the firmware package to the target:

       ```text theme={null}
       adb push renesas_usb_fw.mem /usr/lib/firmware
       ```

    4. Configure the ethernet:

       ```text theme={null}
       echo -n "staging" > /var/data
       ```

       ```text theme={null}
       efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays \
         -w -f /var/data
       ```

       ```text theme={null}
       sync && reboot
       ```

    **Suspend Procedure**

    1. Set the suspend mode:

       ```text theme={null}
       echo s2idle > /sys/power/mem_sleep
       ```

    2. Bind the Renesas USB controller from the serial console or adb shell:

       ```text theme={null}
       echo "0001:04:00.0" > /sys/bus/pci/drivers/xhci-pci-renesas/bind
       ```

    3. Disconnect the Type-C USB cable.

    4. Trigger suspend:

       ```text theme={null}
       systemctl suspend
       ```

    5. Wait for a few seconds, and then reconnect the Type-C USB cable.

    <br />

    **Verify SoC sleep entry**

    AOSD is the lowest SoC sleep state. Verify the AOSD sleep count using the commands provided in [Verify system-on-chip sleep state →](system-on-chip-sleep-states).

    **Supported Sleep Wakeup Sources**

    The following wakeup sources are supported to resume the device from SoC sleep:

    1. USB Type-C
    2. Power key
    3. RTC alarm
  </Tab>

  <Tab title="IQ-9075">
    CX SD/AOSD is not applicable <br />
    CPU suspend is the lowest supported sleep state
  </Tab>

  <Tab title="IQ-8275">
    CX SD/AOSD is not applicable <br />
    CPU suspend is the lowest supported sleep state
  </Tab>
</Tabs>
