mb/google/zork/var/ezkinil: Fix stylus GPIO to enable suspend

Make GPIO_4 and GPIO_5 PAD_NC in ezkinil/gpio.c. None of the Ezkinil SKUs
use internal stylus and hence pen pads are configured as NC.

BUG=b:164892883, b:165342107
TEST=Verified taht pen detect GPIO does not cause spurious wakes.
BRANCH=None

Signed-off-by: Josie Nordrum <josienordrum@google.com>
Change-Id: I7557575cf8b8e0f849e05bda1d69acf61e91a157
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44629
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Josie Nordrum 2020-08-19 15:52:42 -07:00 committed by Furquan Shaikh
parent 6c5f47b50c
commit 4cc87d4e35
1 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,10 @@
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
static const struct soc_amd_gpio ezkinil_bid1_gpio_set_stage_ram[] = { static const struct soc_amd_gpio ezkinil_bid1_gpio_set_stage_ram[] = {
/* PEN_DETECT_ODL - Not connected */
PAD_NC(GPIO_4),
/* PEN_POWER_EN - Not connected */
PAD_NC(GPIO_5),
/* DMIC_SEL */ /* DMIC_SEL */
PAD_GPO(GPIO_13, LOW), // Select Camera 1 Dmic PAD_GPO(GPIO_13, LOW), // Select Camera 1 Dmic
/* USB_OC4_L - USB_A1 */ /* USB_OC4_L - USB_A1 */
@ -29,6 +33,10 @@ static const struct soc_amd_gpio ezkinil_bid1_gpio_set_stage_ram[] = {
}; };
static const struct soc_amd_gpio ezkinil_bid2_gpio_set_stage_ram[] = { static const struct soc_amd_gpio ezkinil_bid2_gpio_set_stage_ram[] = {
/* PEN_DETECT_ODL - Not connected */
PAD_NC(GPIO_4),
/* PEN_POWER_EN - Not connected */
PAD_NC(GPIO_5),
/* FPMCU_RST_L Change NC */ /* FPMCU_RST_L Change NC */
PAD_NC(GPIO_11), PAD_NC(GPIO_11),
/* DMIC_SEL */ /* DMIC_SEL */
@ -50,6 +58,10 @@ static const struct soc_amd_gpio ezkinil_bid2_gpio_set_stage_ram[] = {
}; };
static const struct soc_amd_gpio ezkinil_bid3_gpio_set_stage_ram[] = { static const struct soc_amd_gpio ezkinil_bid3_gpio_set_stage_ram[] = {
/* PEN_DETECT_ODL - Not connected */
PAD_NC(GPIO_4),
/* PEN_POWER_EN - Not connected */
PAD_NC(GPIO_5),
/* FPMCU_RST_L Change NC */ /* FPMCU_RST_L Change NC */
PAD_NC(GPIO_11), PAD_NC(GPIO_11),
/* FPMCU_BOOT0 Change NC */ /* FPMCU_BOOT0 Change NC */