diff options
author | Caveh Jalali <caveh@chromium.org> | 2018-06-15 20:33:32 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-21 04:38:46 +0000 |
commit | 126ce5c28ba5aee6dacf4716947b7755b3bc2b7f (patch) | |
tree | 988c4bbd8ad1fd6e6c3a367fb4c908d9467a27d0 /src/mainboard/google/poppy/variants/atlas/devicetree.cb | |
parent | e750198528f847a515e41c362451510e39ec9218 (diff) |
mb/google/poppy/variants/atlas: enable touchscreen
This adds the necessary config to enable touchscreen sensor in linux.
BUG=b:110286344,b:110286345
BRANCH=none
TEST=verified touch functionality using eval board
Change-Id: I21efafda3f2ae1dcea19e44f8d66f6dfaac1bb12
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/27127
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/atlas/devicetree.cb')
-rw-r--r-- | src/mainboard/google/poppy/variants/atlas/devicetree.cb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb index 1dc981e633..34bc4d45b7 100644 --- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb +++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb @@ -258,7 +258,17 @@ chip soc/intel/skylake device pci 14.0 on end # USB xHCI device pci 14.1 on end # USB xDCI (OTG) device pci 14.2 on end # Thermal Subsystem - device pci 15.0 on end # I2C #0 - Touchscreen + device pci 15.0 on + chip drivers/i2c/hid + register "generic.hid" = ""ACPI0C50"" + register "generic.desc" = ""STM Touchscreen"" + register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" + register "generic.speed" = "I2C_SPEED_FAST" + register "generic.probed" = "1" + register "hid_desc_reg_offset" = "0xab" + device i2c 0x49 on end + end + end # I2C #0 - Touchscreen device pci 15.1 off end # I2C #1 device pci 15.2 on chip drivers/i2c/hid |