[coreboot-gerrit] New patch to review for coreboot: mainboard/google/snappy: Add PowerResource for ELAN touchscreen
Wisley Chen (wisley.chen@quantatw.com)
gerrit at coreboot.org
Thu Nov 10 19:18:09 CET 2016
Wisley Chen (wisley.chen at quantatw.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17366
-gerrit
commit 98f691472a83b87aedd55863cac445aad1537c1a
Author: Wisley Chen <wisley.chen at quantatw.com>
Date: Thu Nov 10 10:34:58 2016 -0500
mainboard/google/snappy: Add PowerResource for ELAN touchscreen
Define reset_gpio and enable_gpio for touchscreen device so that
when kernel puts this device into D3, we put the device into reset.
PowerResource _ON and _OFF routines are used to put the device
into D0 and D3 states.
BUG=chrome-os-partner:59034
BRANCH=master
TEST=emerge-snappy coreboot chromeos-bootimage
Change-Id: I08c05d06b2812a33b3fdff9b42b2a8e0653dd8b4
Signed-off-by: Wisley Chen <wisley.chen at quantatw.com>
---
src/mainboard/google/reef/variants/snappy/devicetree.cb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index 43ec2ed..1916654 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -136,6 +136,10 @@ chip soc/intel/apollolake
register "desc" = ""ELAN Touchscreen""
register "irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
register "probed" = "1"
+ register "reset_gpio" = "GPIO_36"
+ register "reset_delay_ms" = "20"
+ register "enable_gpio" = "GPIO_152"
+ register "enable_delay_ms" = "1"
device i2c 10 on end
end
end # - I2C 3
More information about the coreboot-gerrit
mailing list