Commit Graph
4 Commits
Author SHA1 Message Date
Andy Shevchenko 0e1540208e x86: pmc_atom: Expose contents of PSS
The PSS register reflects the power state of each island on SoC. It would be
useful to know which of the islands is on or off at the momemnt.

Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Aubrey Li <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Kumar P. Mahesh <[email protected]>
Link: http://lkml.kernel.org/r/1421253575-22509-6-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <[email protected]>
2015-01-20 12:50:14 +01:00
Li, Aubrey f855911c1f x86/pmc_atom: Expose PMC device state and platform sleep state
Add the following interfaces to exposes PMC device state and sleep
state residency via debugfs:
	/sys/kernel/debugfs/pmc_atom/dev_state
	/sys/kernel/debugfs/pmc_atom/sleep_state

Signed-off-by: Aubrey Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Kasagar, Srinidhi <[email protected]>
Reviewed-by: Rudramuni, Vishwesh M <[email protected]>
Reviewed-by: Joe Perches <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
2014-07-25 14:12:14 -07:00
Li, Aubrey b00055cade x86/pmc_atom: Eisable a few S0ix wake up events for S0ix residency
Disable PMC S0IX_WAKE_EN events coming from LPC block(unused) and
also from GPIO_SUS ored dedicated IRQs (must be disabled as per PMC
programming rule), GPIOSCORE ored dedicated IRQs (must be disabled
as per PMC programming rule), GPIO_SUS shared IRQ (not necessary
since the IOAPIC_DS wake event will still work), GPIO_SCORE shared
IRQ (not necessary since the IOAPIC_DS wake event will still work).

Signed-off-by: Aubrey Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Olivier Leveque <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
2014-07-25 14:11:58 -07:00
Li, Aubrey 93e5eadd1f x86/platform: New Intel Atom SOC power management controller driver
The Power Management Controller (PMC) controls many of the power
management features present in the Atom SoC. This driver provides
a native power off function via PMC PCI IO port.

On some ACPI hardware-reduced platforms(e.g. ASUS-T100), ACPI sleep
registers are not valid so that (*pm_power_off)() is not hooked by
acpi_power_off(). The power off function in this driver is installed
only when pm_power_off is NULL.

Signed-off-by: Aubrey Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Lejun Zhu <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
2014-07-25 14:11:29 -07:00