coreboot/src/soc
Archana Patni 6c1bf27dae intel/skylake: disable ACPI PM Timer to enable XTAL OSC shutdown
Keeping ACPI PM timer alive prevents XTAL OSC shutdown in S0ix
which has a power impact.

Based on a DT variable, this patch disables the ACPI PM timer
late in the boot sequence - disabling earlier will lead to a hang
since the FSP boot flow needs this timer. This also hides the ACPI PM
timer from the OS by removing from FADT table. Once the ACPI PM timer
is disabled, TCO gets switched off as well.

BRANCH=none
BUG=chrome-os-partner:48646
TEST=Build for skylake board with the PmTimerDisabled policy in
devicetree set to 1.
iotools mmio_read32 0xfe0000fc should return 0x2.
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
should list only "tsc hpet". acpi_pm should be removed from this list.

Change-Id: Icfdc51bc33b5190a55196d67e18afdaaa2f9b310
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 18bcb8a434b029295e1f1cc925e2b47e79254583
Original-Change-Id: Ifebe8bb5a7978339e07e4e12e174b9b978135467
Original-Signed-off-by: Archana Patni <archana.patni@intel.com>
Original-Signed-off-by: Subramony Sesha <subramony.sesha@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/319361
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/13588
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2016-02-04 17:44:28 +01:00
..
broadcom/cygnus src/: Chmod 644 all .c, .h, .asl, .inc, .cb, .hex, & Kconfig files 2016-01-29 16:57:11 +01:00
imgtec/pistachio imgtec/pistachio: disable default RPU gate register values 2015-12-31 17:36:06 +01:00
intel intel/skylake: disable ACPI PM Timer to enable XTAL OSC shutdown 2016-02-04 17:44:28 +01:00
marvell soc/marvell/armada38x: Add i2c driver for armada38x 2016-02-04 11:31:45 +01:00
mediatek/mt8173 mediatek/mt8173: revise cbmem_top 2016-01-22 22:15:38 +01:00
nvidia header files: Fix guard name comments to match guard names 2016-01-18 04:07:53 +01:00
qualcomm/ipq806x header files: Fix guard name comments to match guard names 2016-01-18 04:07:53 +01:00
rockchip/rk3288 google/veyron*: Pulse the i2c clock once if sda was low 2015-11-18 16:29:16 +01:00
samsung header files: Fix guard name comments to match guard names 2016-01-18 04:07:53 +01:00
ucb/riscv tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00