Patchwork X60: add thermal zone 1

login
register
about
Submitter Sven Schnelle
Date 2011-03-06 18:36:50
Message ID <1299436610-6030-1-git-send-email-svens@stackframe.org>
Download mbox | patch
Permalink /patch/2745/
State Accepted
Headers show

Comments

Sven Schnelle - 2011-03-06 18:36:50
Signed-off-by: Sven Schnelle <svens@stackframe.org>
---
 src/mainboard/lenovo/x60/acpi/thermal.asl |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
Stefan Reinauer - 2011-03-06 20:29:24
> Signed-off-by: Sven Schnelle<svens@stackframe.org>
>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Peter Stuge - 2011-03-06 22:41:49
Sven Schnelle wrote:
> Signed-off-by: Sven Schnelle <svens@stackframe.org>

Acked-by: Peter Stuge <peter@stuge.se>

Patch

diff --git a/src/mainboard/lenovo/x60/acpi/thermal.asl b/src/mainboard/lenovo/x60/acpi/thermal.asl
index b7256ce..35b6f14 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))
+		}
+	}
 }