[coreboot-gerrit] Patch set updated for coreboot: 34d4f25 NOTFORMERGE: lenovo/x60: Enable Infrared port.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Feb 9 10:25:03 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5170

-gerrit

commit 34d4f25eb9219ff49abc7dab2ccac82671e151b0
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Feb 9 02:17:26 2014 +0100

    NOTFORMERGE: lenovo/x60: Enable Infrared port.
    
    Change-Id: I251031086dd5ac012e3dc2e8fed816a8ca629f15
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/mainboard/lenovo/x60/acpi/superio.asl | 17 +++++++++++++++++
 src/mainboard/lenovo/x60/devicetree.cb    |  3 +++
 2 files changed, 20 insertions(+)

diff --git a/src/mainboard/lenovo/x60/acpi/superio.asl b/src/mainboard/lenovo/x60/acpi/superio.asl
index 31ffb7b..073d23b 100644
--- a/src/mainboard/lenovo/x60/acpi/superio.asl
+++ b/src/mainboard/lenovo/x60/acpi/superio.asl
@@ -1,3 +1,20 @@
+	Device (FIR)		// Infrared
+	{
+		Name(_HID, EISAID("IBM0071"))
+		Name(_CID, EISAID("PNP0511"))
+
+		Name(_CRS, ResourceTemplate()
+		{
+			IO (Decode16, 0x2f8, 0x2f8, 0x01, 0x08)
+                        IRQNoFlags () {3}
+		})
+
+		Method (_STA, 0)
+		{
+			Return (0xf)
+		}
+	}
+
 #if IS_ENABLED(CONFIG_BOARD_LENOVO_X60T)
 	Device (DTR)		// Digitizer
 	{
diff --git a/src/mainboard/lenovo/x60/devicetree.cb b/src/mainboard/lenovo/x60/devicetree.cb
index 5b4e37f..2388917 100644
--- a/src/mainboard/lenovo/x60/devicetree.cb
+++ b/src/mainboard/lenovo/x60/devicetree.cb
@@ -125,6 +125,9 @@ chip northbridge/intel/i945
 				chip superio/nsc/pc87382
 					device pnp 164e.2 on # IR
 						io 0x60 = 0x2f8
+						irq 0x29 = 0xb0
+						irq 0x70 = 0x3
+						irq 0xf0 = 0x82
 					end
 
 					device pnp 164e.3 on # Digitizer



More information about the coreboot-gerrit mailing list