diff options
author | Kevin Chiu <Kevin.Chiu@quantatw.com> | 2017-01-10 22:31:05 +0800 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-01-13 17:37:51 +0100 |
commit | 5aadea9d76692776f843f9671a8b34f46d75609d (patch) | |
tree | e771a0b4f87e7bc00ef4f6008ab9e1869e0c19be /src/mainboard/google/reef/variants | |
parent | 7a9ec36fd4749880f7cecb4088c78b93d94746cc (diff) | |
download | coreboot-5aadea9d76692776f843f9671a8b34f46d75609d.tar.xz |
google/pyro: Add ELAN touch screen support
Current fw does not create ACPI device for
OS to recognize ELAN touchscreen.
List the touch screen in the devicetree so that
the correct ACPI device are created.
BUG=chrome-os-partner:61803
BRANCH=reef
TEST=emerge-pyro coreboot
Change-Id: I9015fa63ef3aba74b682da3608a05ee49c4947c5
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/18086
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/variants')
-rw-r--r-- | src/mainboard/google/reef/variants/pyro/devicetree.cb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb index bc06bbba11..f7551d66bb 100644 --- a/src/mainboard/google/reef/variants/pyro/devicetree.cb +++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb @@ -176,6 +176,21 @@ chip soc/intel/apollolake register "hid_desc_reg_offset" = "0x1" device i2c 0xA on end end + chip drivers/i2c/generic + register "hid" = ""ELAN0001"" + register "desc" = ""ELAN Touchscreen"" + register "irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)" + register "probed" = "1" + + chip drivers/generic/gpio_regulator + register "name" = ""vcc33"" + register "gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)" + register "enabled_on_boot" = "1" + device generic 0 on end + end + + device i2c 10 on end + end end # - I2C 3 device pci 17.0 on chip drivers/i2c/generic |