1*83d290c5STom Rini/* SPDX-License-Identifier: GPL-2.0+ */ 242f8ebfdSBin Meng/* 342f8ebfdSBin Meng * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> 442f8ebfdSBin Meng */ 542f8ebfdSBin Meng 642f8ebfdSBin Meng#include <asm/acpi/statdef.asl> 742f8ebfdSBin Meng#include <asm/arch/iomap.h> 842f8ebfdSBin Meng#include <asm/arch/irq.h> 942f8ebfdSBin Meng 1042f8ebfdSBin Meng/* 1142f8ebfdSBin Meng * The _PTS method (Prepare To Sleep) is called before the OS is 1242f8ebfdSBin Meng * entering a sleep state. The sleep state number is passed in Arg0. 1342f8ebfdSBin Meng */ 1442f8ebfdSBin MengMethod(_PTS, 1) 1542f8ebfdSBin Meng{ 1642f8ebfdSBin Meng} 1742f8ebfdSBin Meng 1842f8ebfdSBin Meng/* The _WAK method is called on system wakeup */ 1942f8ebfdSBin MengMethod(_WAK, 1) 2042f8ebfdSBin Meng{ 2142f8ebfdSBin Meng Return (Package() {0, 0}) 2242f8ebfdSBin Meng} 2342f8ebfdSBin Meng 2479c2c257SBin Meng/* ACPI global NVS */ 2579c2c257SBin Meng#include "global_nvs.asl" 2679c2c257SBin Meng 2742f8ebfdSBin Meng/* TODO: add CPU ASL support */ 2842f8ebfdSBin Meng 2942f8ebfdSBin MengScope (\_SB) 3042f8ebfdSBin Meng{ 3142f8ebfdSBin Meng #include "southcluster.asl" 327bfe0da4SBin Meng 337bfe0da4SBin Meng /* ACPI devices */ 347bfe0da4SBin Meng #include "gpio.asl" 3542f8ebfdSBin Meng} 3642f8ebfdSBin Meng 3742f8ebfdSBin Meng/* Chipset specific sleep states */ 38411898dcSBin Meng#include <asm/acpi/sleepstates.asl> 39