mb/intel/adlrvp_m: Enable touchpad
These changes include ELAN touchpad to ACPI tables and configure GPIO's. BUG=None Test=Boot board, touchpad should be functional Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com> Change-Id: I78e5e133f7d3af47395819a79638a90fee4fd19e Reviewed-on: https://review.coreboot.org/c/coreboot/+/57863 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
This commit is contained in:
parent
0a1602217f
commit
24e3d67004
|
@ -275,6 +275,16 @@ chip soc/intel/alderlake
|
|||
register "hid_desc_reg_offset" = "0x01"
|
||||
device i2c 0a on end
|
||||
end
|
||||
chip drivers/i2c/hid
|
||||
register "generic.hid" = ""ELAN0000""
|
||||
register "generic.desc" = ""ELAN Touchpad""
|
||||
register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_D11_IRQ)"
|
||||
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H1)"
|
||||
register "generic.wake" = "GPE0_DW1_11"
|
||||
register "generic.probed" = "1"
|
||||
register "generic.has_power_resource" = "1"
|
||||
device i2c 15 on end
|
||||
end
|
||||
end
|
||||
device ref i2c1 on
|
||||
chip drivers/intel/mipi_camera
|
||||
|
|
|
@ -172,7 +172,13 @@ static const struct pad_config gpio_table[] = {
|
|||
PAD_CFG_GPI_APIC(GPP_E3, NONE, PLTRST, LEVEL, INVERT),
|
||||
|
||||
/* E4 : SATA_DEVSLP0 ==> USB4_BB_RT_FORCE_PWR */
|
||||
PAD_CFG_GPO(GPP_E4, 0, DEEP)
|
||||
PAD_CFG_GPO(GPP_E4, 0, DEEP),
|
||||
|
||||
/* H1 : GPPC_H1_TCH_PAD_TCH_PNL2_LS_EN */
|
||||
PAD_CFG_GPO(GPP_H1, 0, PLTRST),
|
||||
|
||||
/* D11 : TCH_PAD_INT_N */
|
||||
PAD_CFG_GPI_APIC(GPP_D11, NONE, PLTRST, LEVEL, INVERT)
|
||||
};
|
||||
|
||||
void variant_configure_gpio_pads(void)
|
||||
|
|
Loading…
Reference in New Issue