[coreboot-gerrit] Change in coreboot[master]: google/kahlee: Added Elan touchpad ASL

Marc Jones (Code Review) gerrit at coreboot.org
Fri Apr 14 02:51:09 CEST 2017


Marc Jones has uploaded a new change for review. ( https://review.coreboot.org/19288 )

Change subject: google/kahlee: Added Elan touchpad ASL
......................................................................

google/kahlee: Added Elan touchpad ASL

Add Elan touchpad ASL for proper linux driver loading.

Change-Id: I6b3e762b05030002575b660a29b58612ab7c869a
Signed-off-by: Ivy Jian <ivy_jian at compal.com>
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/mainboard/google/kahlee/acpi/mainboard.asl
1 file changed, 24 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/19288/1

diff --git a/src/mainboard/google/kahlee/acpi/mainboard.asl b/src/mainboard/google/kahlee/acpi/mainboard.asl
index 508daa7..4254f00 100644
--- a/src/mainboard/google/kahlee/acpi/mainboard.asl
+++ b/src/mainboard/google/kahlee/acpi/mainboard.asl
@@ -28,3 +28,27 @@
 Name(OSVR, 3)	/* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
 Name(OSV, Ones)	/* Assume nothing */
 Name(PMOD, One)	/* Assume APIC */
+
+Device (ETPA)
+{
+	Name (_HID, "ELAN0000")
+	Name (_DDN, "Elan Touchpad")
+	Name (_UID, 3)
+	Name (ISTP, 1) /* Touchpad */
+
+	Name (_CRS, ResourceTemplate()
+	{
+		I2cSerialBus (
+		0x15,                     /* SlaveAddress */
+		ControllerInitiated,      /* SlaveMode */
+		400000,                   /* ConnectionSpeed */
+		AddressingMode7Bit,       /* AddressingMode */
+		"\\_SB.I2CD",             /* ResourceSource */
+		)
+		GpioInt (Level, ActiveLow, ExclusiveAndWake, PullNone,,
+			"\\_SB.GPIO") { 0x5 }
+	})
+
+	/* Allow device to power off in S0 */
+	Name (_S0W, 4)
+}

-- 
To view, visit https://review.coreboot.org/19288
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b3e762b05030002575b660a29b58612ab7c869a
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>



More information about the coreboot-gerrit mailing list