18c2ecf20Sopenharmony_ci		ACPI Time and Alarm (TAD) device attributes.
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/caps
48c2ecf20Sopenharmony_ciDate:		March 2018
58c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
68c2ecf20Sopenharmony_ciDescription:
78c2ecf20Sopenharmony_ci		(RO) Hexadecimal bitmask of the TAD attributes are reported by
88c2ecf20Sopenharmony_ci		the platform firmware (see ACPI 6.2, section 9.18.2):
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci		======= ======================================================
118c2ecf20Sopenharmony_ci		BIT(0): AC wakeup implemented if set
128c2ecf20Sopenharmony_ci		BIT(1): DC wakeup implemented if set
138c2ecf20Sopenharmony_ci		BIT(2): Get/set real time features implemented if set
148c2ecf20Sopenharmony_ci		BIT(3): Real time accuracy in milliseconds if set
158c2ecf20Sopenharmony_ci		BIT(4): Correct status reported for wakeups from S4/S5 if set
168c2ecf20Sopenharmony_ci		BIT(5): The AC timer wakes up from S4 if set
178c2ecf20Sopenharmony_ci		BIT(6): The AC timer wakes up from S5 if set
188c2ecf20Sopenharmony_ci		BIT(7): The DC timer wakes up from S4 if set
198c2ecf20Sopenharmony_ci		BIT(8): The DC timer wakes up from S5 if set
208c2ecf20Sopenharmony_ci		======= ======================================================
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci		The other bits are reserved.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_alarm
258c2ecf20Sopenharmony_ciDate:		March 2018
268c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
278c2ecf20Sopenharmony_ciDescription:
288c2ecf20Sopenharmony_ci		(RW) The AC alarm timer value.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci		Reads return the current AC alarm timer value in seconds or
318c2ecf20Sopenharmony_ci		"disabled", if the AC alarm is not set to wake up the system.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci		Write a new AC alarm timer value in seconds or "disabled" to it
348c2ecf20Sopenharmony_ci		to set the AC alarm timer or to disable it, respectively.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci		If the AC alarm timer is set through this attribute and it
378c2ecf20Sopenharmony_ci		expires, it will immediately wake up the system from the S3
388c2ecf20Sopenharmony_ci		sleep state (and from S4/S5 too if supported) until its status
398c2ecf20Sopenharmony_ci		is explicitly cleared via the ac_status attribute.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_policy
428c2ecf20Sopenharmony_ciDate:		March 2018
438c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
448c2ecf20Sopenharmony_ciDescription:
458c2ecf20Sopenharmony_ci		(RW) The AC alarm expired timer wake policy (see ACPI 6.2,
468c2ecf20Sopenharmony_ci		Section 9.18 for details).
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci		Reads return the current expired timer wake delay for the AC
498c2ecf20Sopenharmony_ci		alarm timer or "never", if the policy is to discard AC timer
508c2ecf20Sopenharmony_ci		wakeups if the system is on DC power.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci		Write a new expired timer wake delay for the AC alarm timer in
538c2ecf20Sopenharmony_ci		seconds or "never" to it to set the expired timer wake delay for
548c2ecf20Sopenharmony_ci		the AC alarm timer or to set its expired wake policy to discard
558c2ecf20Sopenharmony_ci		wakeups if the system is on DC power, respectively.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/ac_status
588c2ecf20Sopenharmony_ciDate:		March 2018
598c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
608c2ecf20Sopenharmony_ciDescription:
618c2ecf20Sopenharmony_ci		(RW) The AC alarm status.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci		Reads return a hexadecimal bitmask representing the AC alarm
648c2ecf20Sopenharmony_ci		timer status with the following meaning of bits (see ACPI 6.2,
658c2ecf20Sopenharmony_ci		Section 9.18.5):
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci		======= ======================================================
688c2ecf20Sopenharmony_ci		Bit(0): The timer has expired if set.
698c2ecf20Sopenharmony_ci		Bit(1): The timer has woken up the system from a sleep state
708c2ecf20Sopenharmony_ci		        (S3 or S4/S5 if supported) if set.
718c2ecf20Sopenharmony_ci		======= ======================================================
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci		The other bits are reserved.
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci		Reads also cause the AC alarm timer status to be reset.
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ci		Another way to reset the the status of the AC alarm timer is to
788c2ecf20Sopenharmony_ci		write (the number) 0 to this file.
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci		If the status return value indicates that the timer has expired,
818c2ecf20Sopenharmony_ci		it will immediately wake up the system from the S3 sleep state
828c2ecf20Sopenharmony_ci		(and from S4/S5 too if supported) until its status is explicitly
838c2ecf20Sopenharmony_ci		cleared through this attribute.
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_alarm
868c2ecf20Sopenharmony_ciDate:		March 2018
878c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
888c2ecf20Sopenharmony_ciDescription:
898c2ecf20Sopenharmony_ci		(RW,optional) The DC alarm timer value.
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci		This attribute is only present if the TAD supports a separate
928c2ecf20Sopenharmony_ci		DC timer.
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ci		It is analogous to the ac_alarm attribute.
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_policy
978c2ecf20Sopenharmony_ciDate:		March 2018
988c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
998c2ecf20Sopenharmony_ciDescription:
1008c2ecf20Sopenharmony_ci		(RW,optional) The DC alarm expired timer wake policy.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci		This attribute is only present if the TAD supports a separate
1038c2ecf20Sopenharmony_ci		DC timer.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci		It is analogous to the ac_policy attribute.
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ciWhat:		/sys/bus/platform/devices/ACPI000E:00/dc_status
1088c2ecf20Sopenharmony_ciDate:		March 2018
1098c2ecf20Sopenharmony_ciContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ciDescription:
1128c2ecf20Sopenharmony_ci		(RW,optional) The DC alarm status.
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci		This attribute is only present if the TAD supports a separate
1158c2ecf20Sopenharmony_ci		DC timer.
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci		It is analogous to the ac_status attribute.
118