[coreboot-gerrit] Change in coreboot[master]: Nami: Enable elan touchpad

Van Chen (Code Review) gerrit at coreboot.org
Fri Jan 5 10:07:47 CET 2018


Van Chen has uploaded this change for review. ( https://review.coreboot.org/23133


Change subject: Nami: Enable elan touchpad
......................................................................

Nami: Enable elan touchpad

BUG=none
TEST=
1. emerge-nami coreboot chromeos-bootimage
2. check touchpad function

Change-Id: I14471d1473a3b3ecf15aaf362b47874704cd3bf0
---
M src/mainboard/google/poppy/variants/nami/devicetree.cb
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/23133/1

diff --git a/src/mainboard/google/poppy/variants/nami/devicetree.cb b/src/mainboard/google/poppy/variants/nami/devicetree.cb
index 5e23d45..77b3cf0 100644
--- a/src/mainboard/google/poppy/variants/nami/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nami/devicetree.cb
@@ -250,7 +250,16 @@
 		device pci 14.1 off end # USB xDCI (OTG)
 		device pci 14.2 on  end # Thermal Subsystem
 		device pci 15.0 on  end # I2C #0
-		device pci 15.1 on  end # I2C #1
+		device pci 15.1 on
+			chip drivers/i2c/generic
+				register "hid" = ""ELAN0000""
+				register "desc" = ""ELAN Touchpad""
+				register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E3_IRQ)"
+				register "wake" = "GPP_C7"
+				register "probed" = "1"
+				device i2c 15 on end
+			end
+		end # I2C #1
 		device pci 15.2 on  end # I2C #2
 		device pci 15.3 on
 			chip drivers/generic/max98357a

-- 
To view, visit https://review.coreboot.org/23133
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14471d1473a3b3ecf15aaf362b47874704cd3bf0
Gerrit-Change-Number: 23133
Gerrit-PatchSet: 1
Gerrit-Owner: Van Chen <van_chen at compal.corp-partner.google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180105/e4684fc1/attachment.html>


More information about the coreboot-gerrit mailing list