mainboard/google/pryo: Update touchscreen device ACPI nodes
1. For ELAN, export reset GPIO as well as PowerResource 2. For WCOM, export PowerResource BUG=chrome-os-partner:62311, chrome-os-partner:60194, chrome-os-partner:62371 BRANCH=reef TEST=Verified that touchscreen works on pyro with WCOM device on power-on as well as after suspend/resume. Change-Id: I0306e24e19bf821cd3e08fdacc0d78b494c9a92f Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/18239 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
71d830fddc
commit
a7a517ddc5
|
@ -187,6 +187,12 @@ chip soc/intel/apollolake
|
|||
.cid = PNP0C50_CID,
|
||||
.desc = WCOM_TS_DESC,
|
||||
.irq = IRQ_LEVEL_LOW(GPIO_21_IRQ),
|
||||
.reset_gpio = ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36),
|
||||
.reset_delay_ms = 20,
|
||||
.enable_gpio = ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152),
|
||||
.enable_delay_ms = 1,
|
||||
.has_power_resource = 1,
|
||||
.disable_gpio_export_in_crs = 1,
|
||||
}"
|
||||
register "hid_desc_reg_offset" = "0x1"
|
||||
device i2c 0xA on end
|
||||
|
@ -196,14 +202,11 @@ chip soc/intel/apollolake
|
|||
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
|
||||
|
||||
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)"
|
||||
register "reset_delay_ms" = "20"
|
||||
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)"
|
||||
register "enable_delay_ms" = "1"
|
||||
register "has_power_resource" = "1"
|
||||
device i2c 10 on end
|
||||
end
|
||||
end # - I2C 3
|
||||
|
|
Loading…
Reference in New Issue