X60: add thermal zone 1
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6435 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -39,6 +39,7 @@ Device(EC)
|
|||||||
KBLT, 1, /* Keyboard Light */
|
KBLT, 1, /* Keyboard Light */
|
||||||
Offset (0x78),
|
Offset (0x78),
|
||||||
TMP0, 8, /* Thermal Zone 0 temperature */
|
TMP0, 8, /* Thermal Zone 0 temperature */
|
||||||
|
TMP1, 8, /* Thermal Zone 1 temperature */
|
||||||
Offset (0x81),
|
Offset (0x81),
|
||||||
PAGE, 8 /* Information Page Selector */
|
PAGE, 8 /* Information Page Selector */
|
||||||
}
|
}
|
||||||
|
@@ -23,4 +23,19 @@ Scope(\_TZ)
|
|||||||
Return (C2K(\_SB.PCI0.LPCB.EC.TMP0))
|
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))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user