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

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Nov 19 17:38:43 CET 2018


Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/29656 )

Change subject: mb/google/kahlee/variants/delan: Enable Weida touchscreen device
......................................................................

mb/google/kahlee/variants/delan: Enable Weida touchscreen device

This change adds ACPI properties for WDT8752A device.

BUG=b:117174180
BRANCH=master
TEST=Verify touchscreen on delan works with this change

Change-Id: Id1484a482de6282c97f3aac329f217bbcb7dbd18
Signed-off-by: Ivy Jian <ivy_jian at compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/29656
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Daniel Kurtz <djkurtz at google.com>
---
M src/mainboard/google/kahlee/variants/delan/devicetree.cb
1 file changed, 14 insertions(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Daniel Kurtz: Looks good to me, approved



diff --git a/src/mainboard/google/kahlee/variants/delan/devicetree.cb b/src/mainboard/google/kahlee/variants/delan/devicetree.cb
index fd30d5d..b9cfe1b 100644
--- a/src/mainboard/google/kahlee/variants/delan/devicetree.cb
+++ b/src/mainboard/google/kahlee/variants/delan/devicetree.cb
@@ -170,5 +170,19 @@
 			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_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_11)"
+			register "generic.probed" = "1"
+			register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_85)"
+			register "generic.reset_delay_ms" = "130"
+			register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_76)"
+			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
 end	#chip soc/amd/stoneyridge

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id1484a482de6282c97f3aac329f217bbcb7dbd18
Gerrit-Change-Number: 29656
Gerrit-PatchSet: 2
Gerrit-Owner: Ivy Jian <ivy_jian at compal.corp-partner.google.com>
Gerrit-Reviewer: Daniel Kurtz <djkurtz at google.com>
Gerrit-Reviewer: Ivy Jian <ivy_jian at compal.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181119/702a81b5/attachment.html>


More information about the coreboot-gerrit mailing list