[coreboot-gerrit] Patch set updated for coreboot: intel/amenia: Enable touchscreen in ACPI

Freddy Paul (freddy.paul@intel.com) gerrit at coreboot.org
Wed May 11 16:04:17 CEST 2016


Freddy Paul (freddy.paul at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14768

-gerrit

commit e827b5e9b126a278b26cbf34680f9cd3552e2657
Author: Freddy Paul <freddy.paul at intel.com>
Date:   Tue May 10 14:04:38 2016 -0700

    intel/amenia: Enable touchscreen in ACPI
    
    Add support for Elan touchscreen on I2C3 for amenia
    
    BUG=None
    TEST=Boot to Chromium OS and verify if touchscreen is working.
    
    Change-Id: Ic75bef0e5878bd5b8c0d727400679663d9f591e3
    Signed-off-by: Freddy Paul <freddy.paul at intel.com>
---
 src/mainboard/intel/amenia/acpi/mainboard.asl | 33 +++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/src/mainboard/intel/amenia/acpi/mainboard.asl b/src/mainboard/intel/amenia/acpi/mainboard.asl
index 76c63b7..b0212f6 100644
--- a/src/mainboard/intel/amenia/acpi/mainboard.asl
+++ b/src/mainboard/intel/amenia/acpi/mainboard.asl
@@ -47,3 +47,36 @@ Scope (\_SB.PCI0.I2C4)
 
 	}
 }
+
+
+Scope (\_SB.PCI0.I2C3)
+{
+	Device (ETSA)
+	{
+		Name (_HID, "ELAN0001")
+		Name (_DDN, "Elan Touchscreen")
+		Name (_UID, 1)
+		Name (ISTP, 0) /* TouchScreen */
+		Name (_S0W, 4)
+
+		Name (_CRS, ResourceTemplate()
+		{
+			I2cSerialBus (
+				0x10,                     // SlaveAddress
+				ControllerInitiated,      // SlaveMode
+				400000,                   // ConnectionSpeed
+				AddressingMode7Bit,       // AddressingMode
+				"\\_SB.PCI0.I2C3",        // ResourceSource
+			)
+			Interrupt (ResourceConsumer, Edge, ActiveLow)
+			{
+				GPIO_21_IRQ
+			}
+		})
+
+		Method (_STA)
+		{
+			Return (0xF)
+		}
+	}
+}



More information about the coreboot-gerrit mailing list