summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chiu <Kevin.Chiu@quantatw.com>2017-10-24 11:05:09 +0800
committerAaron Durbin <adurbin@chromium.org>2017-10-31 15:08:40 +0000
commit2c0696ad0fb7ca3f89c3adb52609de526d75cfe2 (patch)
tree0a68114fc13458edd203b746be9a56e7c5ba0cf6 /src
parentec48c749c254f5ea353b5deea4b207df3cf7a6a6 (diff)
downloadcoreboot-2c0696ad0fb7ca3f89c3adb52609de526d75cfe2.tar.xz
mainboard/google/snappy: Update touchscreen device ACPI nodes
For MELFAS/Raydium, export reset GPIO as well as PowerResource BUG=b:68141940 BRANCH=reef TEST=emerge-snappy coreboot Change-Id: I1915ff8207502b80ecba6b63ce2ce1b866faf4c4 Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/22146 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/reef/variants/snappy/devicetree.cb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index 5d2860346b..f40c3307c6 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -198,6 +198,9 @@ chip soc/intel/apollolake
register "desc" = ""Melfas Touchscreen""
register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)"
register "probed" = "1"
+ register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)"
+ register "enable_delay_ms" = "5"
+ register "has_power_resource" = "1"
device i2c 34 on end
end
chip drivers/i2c/generic
@@ -205,6 +208,11 @@ chip soc/intel/apollolake
register "desc" = ""Raydium Touchscreen""
register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)"
register "probed" = "1"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)"
+ register "reset_delay_ms" = "1"
+ register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)"
+ register "enable_delay_ms" = "50"
+ register "has_power_resource" = "1"
device i2c 39 on end
end
chip drivers/i2c/hid