diff options
author | Furquan Shaikh <furquan@chromium.org> | 2016-10-20 22:48:45 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-10-25 00:09:41 +0200 |
commit | 3ce104e5d867e96c9a2a21103d26de5826af6b12 (patch) | |
tree | 73207101fc81f6a4a5f36b7d69108a7856ae0414 /src/mainboard/google/reef/variants/baseboard/devicetree.cb | |
parent | 00a9e38f748c839c3a8edf7f2e242c64180456d4 (diff) |
mainboard/google/reef: 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:55988
Change-Id: Ia905f9eb630cd96767b639aec74131dbd7952d0e
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17083
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/variants/baseboard/devicetree.cb')
-rw-r--r-- | src/mainboard/google/reef/variants/baseboard/devicetree.cb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/baseboard/devicetree.cb b/src/mainboard/google/reef/variants/baseboard/devicetree.cb index 00df9bd4b9..30d61f63d4 100644 --- a/src/mainboard/google/reef/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/reef/variants/baseboard/devicetree.cb @@ -142,6 +142,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 |