mb/google/fatcat/var/kinmen: Use ACPI for touchscreen power sequencing

This commit removes redundant touchscreen GPIO configurations from
romstage_gpio_table. These GPIOs are no longer required to be explicitly
set for the touchscreen while using ACPI for touchscreen power
sequencing.

When the generic.use_gpio_for_status flag is enabled, the touchscreen
driver's power resource method will perform a probe to determine the
device's operational status. This probe specifically verifies two
critical conditions:

- The Enable GPIO pin is enabled (HIGH).
- The Reset GPIO pin is not in reset (LOW).

If both of these conditions are met, the touchscreen is considered ready
and functional.

Conversely, if either of these conditions is not met, the _ON method
within the power resource will be invoked. The _ON method is then
responsible for executing the full touchscreen initialization sequence
to bring the device into an operational state.

BUG=b:430444353
TEST=Able to build and boot google/kinmen. Verified touchscreen is
working as expected with this patch.

Change-Id: I0bb2e1ddd4168ef1831b30817dbb3bc3f6e6a5d2
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88518
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Subrata Banik 2025-07-21 14:35:14 +00:00
commit a6842184ab

View file

@ -424,10 +424,6 @@ static const struct pad_config romstage_gpio_table[] = {
PAD_CFG_GPO(GPP_E19, 0, DEEP),
/* GPP_C15: FPS_RST_N */
PAD_CFG_GPO(GPP_C15, 0, DEEP),
/* GPP_F08: EN_TCHSCR_PWR */
PAD_CFG_GPO(GPP_F08, 1, DEEP),
/* GPP_F16: TCHSCR_RST_L */
PAD_CFG_GPO(GPP_F16, 0, DEEP),
};
const struct pad_config *variant_gpio_table(size_t *num)