From e750198528f847a515e41c362451510e39ec9218 Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Fri, 15 Jun 2018 20:45:29 -0700 Subject: mb/google/poppy/variants/atlas: support i2c-hid trackpad We plan to use i2c-hid compatible trackpads on atlas, so this switches the trackpad config to i2c-hid. BUG=b:80662079 BRANCH=none TEST=used trackpad to verify motion tracking Change-Id: I2702e61a6aa96250c0c09ea4bd15d0c671eedadc Signed-off-by: Caveh Jalali Reviewed-on: https://review.coreboot.org/27126 Reviewed-by: Duncan Laurie Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/poppy/variants/atlas/devicetree.cb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb index 7742a83485..1dc981e633 100644 --- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb +++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb @@ -261,12 +261,12 @@ chip soc/intel/skylake device pci 15.0 on end # I2C #0 - Touchscreen device pci 15.1 off end # I2C #1 device pci 15.2 on - chip drivers/i2c/generic - register "hid" = ""ELAN0000"" - register "desc" = ""ELAN Touchpad"" - register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A19_IRQ)" - register "wake" = "GPE0_DW0_23" # GPP_A23 - register "probed" = "1" # may not be present + chip drivers/i2c/hid + register "generic.hid" = ""ACPI0C50"" + register "generic.desc" = ""ELAN Touchpad"" + register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_A19_IRQ)" + register "generic.wake" = "GPE0_DW0_23" # GPP_A23 + register "hid_desc_reg_offset" = "0x01" device i2c 0x15 on end end end # I2C #2 - Trackpad -- cgit v1.2.3