From 85e666dc37183c491227b794debb24e03a909ac1 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Mon, 7 Mar 2011 09:09:51 +0000 Subject: X60: add thermal zone 1 Signed-off-by: Sven Schnelle Acked-by: Stefan Reinauer Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6435 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/lenovo/x60/acpi/ec.asl | 1 + src/mainboard/lenovo/x60/acpi/thermal.asl | 15 +++++++++++++++ 2 files changed, 16 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl index f18b66586e..ec5c6abf45 100644 --- a/src/mainboard/lenovo/x60/acpi/ec.asl +++ b/src/mainboard/lenovo/x60/acpi/ec.asl @@ -39,6 +39,7 @@ Device(EC) KBLT, 1, /* Keyboard Light */ Offset (0x78), TMP0, 8, /* Thermal Zone 0 temperature */ + TMP1, 8, /* Thermal Zone 1 temperature */ Offset (0x81), PAGE, 8 /* Information Page Selector */ } diff --git a/src/mainboard/lenovo/x60/acpi/thermal.asl b/src/mainboard/lenovo/x60/acpi/thermal.asl index b7256ceec1..35b6f145b5 100644 --- a/src/mainboard/lenovo/x60/acpi/thermal.asl +++ b/src/mainboard/lenovo/x60/acpi/thermal.asl @@ -23,4 +23,19 @@ Scope(\_TZ) Return (C2K(\_SB.PCI0.LPCB.EC.TMP0)) } } + + ThermalZone(THM1) + { + Method(_CRT, 0, NotSerialized) { + Return (C2K(99)) + } + + Method(_PSV, 0, NotSerialized) { + Return (C2K(94)) + } + + Method(_TMP) { + Return (C2K(\_SB.PCI0.LPCB.EC.TMP1)) + } + } } -- cgit v1.2.3