[coreboot-gerrit] Change in coreboot[master]: mb/google/octopus/variants/fleex: Enable Weida touchscreen device

Crystal Lin (Code Review) gerrit at coreboot.org
Thu Aug 2 11:54:12 CEST 2018


Crystal Lin has uploaded this change for review. ( https://review.coreboot.org/27800


Change subject: mb/google/octopus/variants/fleex: Enable Weida touchscreen device
......................................................................

mb/google/octopus/variants/fleex: Enable Weida touchscreen device

This change adds ACPI properties for WDT8752A device.

BUG=b:111402335, b:111102092
BRANCH=master
TEST=Verify touchscreen on fleex works with this change

Change-Id: Id186d5b87343007ae7e631d5d27464ee27e5b27d
Signed-off-by: Crystal Lin <crystal_lin at compal.corp-partner.google.com>
---
M src/mainboard/google/octopus/variants/fleex/overridetree.cb
1 file changed, 14 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/27800/1

diff --git a/src/mainboard/google/octopus/variants/fleex/overridetree.cb b/src/mainboard/google/octopus/variants/fleex/overridetree.cb
index 466d19b..b96f309 100644
--- a/src/mainboard/google/octopus/variants/fleex/overridetree.cb
+++ b/src/mainboard/google/octopus/variants/fleex/overridetree.cb
@@ -43,6 +43,20 @@
 				register "has_power_resource" = "1"
 				device i2c 10 on end
 			end
+			chip drivers/i2c/hid
+				register "generic.hid" = ""WDHT0002""
+				register "generic.desc" = ""WDT Touchscreen""
+				register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPIO_212_IRQ)"
+				register "generic.probed" = "1"
+				register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
+				register "generic.reset_delay_ms" = "4"
+				register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_213)"
+				register "generic.enable_delay_ms" = "2"
+				register "generic.has_power_resource" = "1"
+				register "generic.disable_gpio_export_in_crs" = "1"
+				register "hid_desc_reg_offset" = "0x20"
+				device i2c 2c on end
+			end
 		end	# - I2C 7
 	end
 end

-- 
To view, visit https://review.coreboot.org/27800
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: Id186d5b87343007ae7e631d5d27464ee27e5b27d
Gerrit-Change-Number: 27800
Gerrit-PatchSet: 1
Gerrit-Owner: Crystal Lin <crystal_lin at compal.corp-partner.google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180802/179391f7/attachment-0001.html>


More information about the coreboot-gerrit mailing list