[coreboot-gerrit] New patch to review for coreboot: google/pyro: ELAN touch screen support
Kevin Chiu (Kevin.Chiu@quantatw.com)
gerrit at coreboot.org
Tue Jan 10 15:35:36 CET 2017
Kevin Chiu (Kevin.Chiu at quantatw.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18086
-gerrit
commit 93f2c59a5508f41ba6a62114b92f22ff8abf2080
Author: Kevin Chiu <Kevin.Chiu at quantatw.com>
Date: Tue Jan 10 22:31:05 2017 +0800
google/pyro: ELAN touch screen support
To add ELAN touch screen support for Pyro
BUG=none
BRANCH=reef
TEST=emerge-pyro coreboot
Change-Id: I9015fa63ef3aba74b682da3608a05ee49c4947c5
Signed-off-by: Kevin Chiu <Kevin.Chiu at quantatw.com>
---
src/mainboard/google/reef/variants/pyro/devicetree.cb | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb
index b5e050e..66305ef 100644
--- a/src/mainboard/google/reef/variants/pyro/devicetree.cb
+++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb
@@ -174,6 +174,23 @@ chip soc/intel/apollolake
register "hid_desc_reg_offset" = "0x1"
device i2c 0xA on end
end
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0001""
+ register "desc" = ""ELAN Touchscreen""
+ register "irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
+ register "probed" = "1"
+ register "pwr_mgmt_type" = "GPIO_EXPORT"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)"
+
+ chip drivers/generic/gpio_regulator
+ register "name" = ""vcc33""
+ register "gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)"
+ register "enabled_on_boot" = "1"
+ device generic 0 on end
+ end
+
+ device i2c 10 on end
+ end
end # - I2C 3
device pci 17.0 on
chip drivers/i2c/generic
More information about the coreboot-gerrit
mailing list