daisy: Set up EC_INT as open-drain output

This sets the EC_INT GPIO as an open-drain output and initializes
it in high-impedence state.

Signed-off-by: David Hendricks <dhendrix@chromium.org>

BUG=none
TEST=tested on daisy (applied keyboard patch and tested that AP gets
interrupted and requests keyboard state upon keypress)

Change-Id: Id4b043dd0066db823cd1502bd738f69bb656eada
This commit is contained in:
David Hendricks
2012-04-11 16:42:58 -07:00
parent 250ce6dfc9
commit 432b128c06

View File

@@ -55,7 +55,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
{"PMIC_ACOK", GPIO_A, (1<<12), GPIO_OUT_HIGH, NULL},
{"ENTERING_RW", GPIO_B, (1<<1), GPIO_OUT_LOW, NULL},
{"CHARGER_EN", GPIO_B, (1<<2), GPIO_OUT_LOW, NULL},
{"EC_INT", GPIO_B, (1<<9), GPIO_OUT_LOW, NULL},
{"EC_INT", GPIO_B, (1<<9), GPIO_HI_Z, NULL},
};
void configure_board(void)