summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Sheng-Liang <sheng-liang.pan@quanta.corp-partner.google.com>2018-08-24 18:09:52 +0800
committerFurquan Shaikh <furquan@google.com>2018-08-27 03:17:13 +0000
commitc5cca15cce060699256cb7f81aeefb39065ac3bd (patch)
tree54662df128d97967d4663309576dd3aacf896cd7
parenta1ccaed126c2d611f7ba9950f6ec689367649f85 (diff)
downloadcoreboot-c5cca15cce060699256cb7f81aeefb39065ac3bd.tar.xz
mb/google/octopus: add Digitizer and Synaptics Touchpad for bobba
add device "WCOM Digitizer" and "Synaptics Touchpad" for bobba BUG=none BRANCH=master TEST=emerge-octopus coreboot Change-Id: Ie0bf8ebab6d9cb9c8fe42a500efaa3d11ae359db Signed-off-by: Pan Sheng-Liang <sheng-liang.pan@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/28332 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/octopus/variants/bobba/overridetree.cb20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/bobba/overridetree.cb b/src/mainboard/google/octopus/variants/bobba/overridetree.cb
index 6726b41d0a..acb1d50d76 100644
--- a/src/mainboard/google/octopus/variants/bobba/overridetree.cb
+++ b/src/mainboard/google/octopus/variants/bobba/overridetree.cb
@@ -1,6 +1,17 @@
chip soc/intel/apollolake
device domain 0 on
+ device pci 16.0 on
+ chip drivers/i2c/hid
+ register "generic.hid" = ""WCOM50C1""
+ register "generic.desc" = ""WCOM Digitizer""
+ register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
+ register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
+ register "generic.has_power_resource" = "1"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 0x9 on end
+ end
+ end # - I2C 0
device pci 17.1 on
chip drivers/i2c/da7219
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
@@ -29,6 +40,15 @@ chip soc/intel/apollolake
register "probed" = "1"
device i2c 15 on end
end
+ chip drivers/i2c/hid
+ register "generic.hid" = ""PNP0C50""
+ register "generic.desc" = ""Synaptics Touchpad""
+ register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPIO_135_IRQ)"
+ register "generic.wake" = "GPE0_DW2_02"
+ register "generic.probed" = "1"
+ register "hid_desc_reg_offset" = "0x20"
+ device i2c 0x2c on end
+ end
end # - I2C 6
device pci 17.3 on
chip drivers/i2c/generic