162306a36Sopenharmony_ci		ACPI Time and Alarm (TAD) device attributes.
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/caps
462306a36Sopenharmony_ciDate:		March 2018
562306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
662306a36Sopenharmony_ciDescription:
762306a36Sopenharmony_ci		(RO) Hexadecimal bitmask of the TAD attributes are reported by
862306a36Sopenharmony_ci		the platform firmware (see ACPI 6.2, section 9.18.2):
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci		======= ======================================================
1162306a36Sopenharmony_ci		BIT(0): AC wakeup implemented if set
1262306a36Sopenharmony_ci		BIT(1): DC wakeup implemented if set
1362306a36Sopenharmony_ci		BIT(2): Get/set real time features implemented if set
1462306a36Sopenharmony_ci		BIT(3): Real time accuracy in milliseconds if set
1562306a36Sopenharmony_ci		BIT(4): Correct status reported for wakeups from S4/S5 if set
1662306a36Sopenharmony_ci		BIT(5): The AC timer wakes up from S4 if set
1762306a36Sopenharmony_ci		BIT(6): The AC timer wakes up from S5 if set
1862306a36Sopenharmony_ci		BIT(7): The DC timer wakes up from S4 if set
1962306a36Sopenharmony_ci		BIT(8): The DC timer wakes up from S5 if set
2062306a36Sopenharmony_ci		======= ======================================================
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci		The other bits are reserved.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_alarm
2562306a36Sopenharmony_ciDate:		March 2018
2662306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2762306a36Sopenharmony_ciDescription:
2862306a36Sopenharmony_ci		(RW) The AC alarm timer value.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci		Reads return the current AC alarm timer value in seconds or
3162306a36Sopenharmony_ci		"disabled", if the AC alarm is not set to wake up the system.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci		Write a new AC alarm timer value in seconds or "disabled" to it
3462306a36Sopenharmony_ci		to set the AC alarm timer or to disable it, respectively.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci		If the AC alarm timer is set through this attribute and it
3762306a36Sopenharmony_ci		expires, it will immediately wake up the system from the S3
3862306a36Sopenharmony_ci		sleep state (and from S4/S5 too if supported) until its status
3962306a36Sopenharmony_ci		is explicitly cleared via the ac_status attribute.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_policy
4262306a36Sopenharmony_ciDate:		March 2018
4362306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
4462306a36Sopenharmony_ciDescription:
4562306a36Sopenharmony_ci		(RW) The AC alarm expired timer wake policy (see ACPI 6.2,
4662306a36Sopenharmony_ci		Section 9.18 for details).
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci		Reads return the current expired timer wake delay for the AC
4962306a36Sopenharmony_ci		alarm timer or "never", if the policy is to discard AC timer
5062306a36Sopenharmony_ci		wakeups if the system is on DC power.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci		Write a new expired timer wake delay for the AC alarm timer in
5362306a36Sopenharmony_ci		seconds or "never" to it to set the expired timer wake delay for
5462306a36Sopenharmony_ci		the AC alarm timer or to set its expired wake policy to discard
5562306a36Sopenharmony_ci		wakeups if the system is on DC power, respectively.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_status
5862306a36Sopenharmony_ciDate:		March 2018
5962306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6062306a36Sopenharmony_ciDescription:
6162306a36Sopenharmony_ci		(RW) The AC alarm status.
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ci		Reads return a hexadecimal bitmask representing the AC alarm
6462306a36Sopenharmony_ci		timer status with the following meaning of bits (see ACPI 6.2,
6562306a36Sopenharmony_ci		Section 9.18.5):
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ci		======= ======================================================
6862306a36Sopenharmony_ci		Bit(0): The timer has expired if set.
6962306a36Sopenharmony_ci		Bit(1): The timer has woken up the system from a sleep state
7062306a36Sopenharmony_ci		        (S3 or S4/S5 if supported) if set.
7162306a36Sopenharmony_ci		======= ======================================================
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci		The other bits are reserved.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ci		Reads also cause the AC alarm timer status to be reset.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci		Another way to reset the status of the AC alarm timer is to
7862306a36Sopenharmony_ci		write (the number) 0 to this file.
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci		If the status return value indicates that the timer has expired,
8162306a36Sopenharmony_ci		it will immediately wake up the system from the S3 sleep state
8262306a36Sopenharmony_ci		(and from S4/S5 too if supported) until its status is explicitly
8362306a36Sopenharmony_ci		cleared through this attribute.
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_alarm
8662306a36Sopenharmony_ciDate:		March 2018
8762306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
8862306a36Sopenharmony_ciDescription:
8962306a36Sopenharmony_ci		(RW,optional) The DC alarm timer value.
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ci		This attribute is only present if the TAD supports a separate
9262306a36Sopenharmony_ci		DC timer.
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ci		It is analogous to the ac_alarm attribute.
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_policy
9762306a36Sopenharmony_ciDate:		March 2018
9862306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
9962306a36Sopenharmony_ciDescription:
10062306a36Sopenharmony_ci		(RW,optional) The DC alarm expired timer wake policy.
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ci		This attribute is only present if the TAD supports a separate
10362306a36Sopenharmony_ci		DC timer.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ci		It is analogous to the ac_policy attribute.
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_status
10862306a36Sopenharmony_ciDate:		March 2018
10962306a36Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ciDescription:
11262306a36Sopenharmony_ci		(RW,optional) The DC alarm status.
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ci		This attribute is only present if the TAD supports a separate
11562306a36Sopenharmony_ci		DC timer.
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci		It is analogous to the ac_status attribute.
118