platform.asl 590 B

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