mb/google/rex/var/karis: Set pen detect pin to NC for non-stylus sku

Set pen detect pin to NC base on fw_config.

BUG=b:304680060
TEST=emerge-rex coreboot pass

Change-Id: Icf9171fca49cfed1a05a67ae7fc8d62b7e9630c9
Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79213
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tyler Wang 2023-11-21 19:47:26 +08:00 committed by Felix Held
parent d26f5a103f
commit b1be5c2fff

View File

@ -30,6 +30,8 @@ static const struct pad_config fp_disable_pads[] = {
static const struct pad_config stylus_disable_pads[] = {
/* GPP_E04 : SOC_PEN_DETECT */
PAD_NC(GPP_E04, NONE),
/* GPP_E09 : SOC_PEN_DETECT */
PAD_NC(GPP_E09, NONE),
};
void fw_config_gpio_padbased_override(struct pad_config *padbased_table)