platform.asl 648 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #include <asm/acpi/statdef.asl>
  6. #include <asm/arch/iomap.h>
  7. #include <asm/arch/irq.h>
  8. /*
  9. * The _PTS method (Prepare To Sleep) is called before the OS is
  10. * entering a sleep state. The sleep state number is passed in Arg0.
  11. */
  12. Method(_PTS, 1)
  13. {
  14. }
  15. /* The _WAK method is called on system wakeup */
  16. Method(_WAK, 1)
  17. {
  18. Return (Package() {0, 0})
  19. }
  20. /* ACPI global NVS */
  21. #include "global_nvs.asl"
  22. /* TODO: add CPU ASL support */
  23. Scope (\_SB)
  24. {
  25. #include "southcluster.asl"
  26. }
  27. /* Chipset specific sleep states */
  28. #include <asm/acpi/sleepstates.asl>