android_kernel_xiaomi_sdm845/drivers/acpi
David Brownell 8aa55591bf ACPI: make /proc/acpi/wakeup more useful
This updates /proc/acpi/wakeup to be more informative, primarily by showing
the sysfs node associated with each wakeup-enabled device.  Example:

	Device	S-state	  Status   Sysfs node
	PCI0	  S4	 disabled  no-bus:pci0000:00
	PS2M	  S4	 disabled  pnp:00:05
	PS2K	  S4	 disabled  pnp:00:06
	UAR1	  S4	 disabled  pnp:00:08
	USB1	  S3	 disabled  pci:0000:00:03.0
	USB2	  S3	 disabled  pci:0000:00:03.1
	USB3	  S3	 disabled
	USB4	  S3	 disabled  pci:0000:00:03.3
	S139	  S4	 disabled
	LAN	  S4	 disabled  pci:0000:00:04.0
	MDM	  S4	 disabled
	AUD	  S4	 disabled  pci:0000:00:02.7
	SLPB	  S4	*enabled

Eventually this file should be removed, but until then it's almost the only
way we have to tell how the relevant ACPI tables are broken (and cope).  In
that example, two devices don't actually exist (USB3, S139), one can't issue
wakeup events (PCI0), and two seem harmlessly (?) confused (MDM and AUD are
the same PCI device, but it's the _modem_ that does wake-on-ring).

In particular, we need to be sure driver model nodes are properly hooked
up before we can get rid of this ACPI-only interface for wakeup events.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-04-25 15:20:10 -04:00
..
dispatcher ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
events ACPICA: revert "acpi_serialize" changes 2007-03-15 04:10:36 -04:00
executer ACPICA: revert "acpi_serialize" changes 2007-03-15 04:10:36 -04:00
hardware ACPI: resolve HP nx6125 S3 immediate wakeup regression 2007-03-12 14:49:26 -04:00
namespace ACPICA: revert "acpi_serialize" changes 2007-03-15 04:10:36 -04:00
parser ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
resources ACPI: fix boot hang w/o "noapic" on MSI MS-6390-L 2007-03-08 03:42:42 -05:00
sleep ACPI: make /proc/acpi/wakeup more useful 2007-04-25 15:20:10 -04:00
tables ACPI: acpi_unload_table_id() always returns error 2007-02-16 18:34:40 -05:00
utilities ACPICA: fix AML mutex re-entrancy 2007-02-15 16:13:16 -05:00
ac.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
acpi_memhotplug.c ACPI: Remove duplicate definitions for _STA bits 2007-04-25 14:17:39 -04:00
asus_acpi.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
battery.c Pull bugzilla-7200 into release branch 2007-02-16 22:11:37 -05:00
bay.c Pull fluff into release branch 2007-02-16 22:10:32 -05:00
blacklist.c ACPI: make blacklist more verbose 2007-03-09 21:19:05 -05:00
bus.c ACPI: use _STA bit names rather than 0x0F 2007-04-25 14:20:58 -04:00
button.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
cm_sbs.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
container.c ACPI: Remove duplicate definitions for _STA bits 2007-04-25 14:17:39 -04:00
debug.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
dock.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
ec.c ACPI: ec: fix race in status register access 2007-03-09 23:16:23 -05:00
event.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
fan.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
glue.c ACPI: remove non-PNPACPI version of get_rtc_dev() 2007-02-15 22:46:42 -05:00
i2c_ec.c Pull fluff into release branch 2007-02-16 22:10:32 -05:00
i2c_ec.h ACPI: add support for Smart Battery 2006-07-01 16:36:14 -04:00
ibm_acpi.c ACPI: ibm-acpi: allow module to load when acpi notifiers can't be set (v2) 2007-03-16 01:07:18 -04:00
Kconfig ACPI: word-smith kconfig help 2007-04-25 14:29:50 -04:00
Makefile ACPI: hotkey: remove driver, per feature-removal-schedule.txt 2007-02-16 21:45:57 -05:00
numa.c ACPI: acpi_table_parse_madt_family() is not MADT specific 2007-02-13 02:58:52 -05:00
osl.c Pull remove-hotkey into release branch 2007-02-16 22:11:02 -05:00
pci_bind.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
pci_irq.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
pci_link.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
pci_root.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
power.c Pull misc-for-upstream into release branch 2007-03-09 23:19:50 -05:00
processor_core.c ACPI: Remove duplicate definitions for _STA bits 2007-04-25 14:17:39 -04:00
processor_idle.c ACPI: remove duplicate include 2007-04-25 14:12:00 -04:00
processor_perflib.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
processor_thermal.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
processor_throttling.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
sbs.c Pull bugzilla-7897 into release branch 2007-02-16 22:12:04 -05:00
scan.c ACPI: use _STA bit names rather than 0x0F 2007-04-25 14:20:58 -04:00
system.c ACPI: delete extra #defines in /drivers/acpi/ drivers 2007-02-12 23:50:52 -05:00
tables.c Revert "ACPI: parse 2nd MADT by default" 2007-03-30 14:16:10 -04:00
thermal.c acpi-thermal: fix mod_timer() interval 2007-04-24 08:23:08 -07:00
toshiba_acpi.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
utils.c ACPI: clean up ACPI_MODULE_NAME() use 2007-02-12 22:42:12 -05:00
video.c ACPI: video: Fix spelling and grammar mistakes 2007-03-09 21:37:07 -05:00