diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2018-01-09 16:38:38 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-12 14:31:07 -0800 |
commit | f77552abc44cf5957812bb40abb84659ef1b4445 (patch) | |
tree | 922fe486c25f45eaac43a4f2222d765b57bf85e1 /board/meowth_fp/gpio.inc | |
parent | 47c7e189b9adb5819316be66a410e47149a2ddea (diff) | |
download | chrome-ec-f77552abc44cf5957812bb40abb84659ef1b4445.tar.gz |
meowth_fp: enable the hostcmd interface
Use the SPI1 controller as the host command slave interface.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=b:67081508
TEST=On reworked Meowth board with ZerbleBarn connected to the PCH SPI
bus, use to the kernel cros_ec interface to communicate with the MCU.
Change-Id: Ia7bdc72677cda2752a0849266282d2a779980152
Reviewed-on: https://chromium-review.googlesource.com/860933
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/meowth_fp/gpio.inc')
-rw-r--r-- | board/meowth_fp/gpio.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/meowth_fp/gpio.inc b/board/meowth_fp/gpio.inc index 2b369c2f73..2ff4fbbf5e 100644 --- a/board/meowth_fp/gpio.inc +++ b/board/meowth_fp/gpio.inc @@ -6,8 +6,7 @@ /* Interrupts */ GPIO_INT(FPS_INT, PIN(A, 0), GPIO_INT_RISING, fps_event) -/* interrupt not yet in use */ -GPIO(SPI1_NSS, PIN(A, 4), GPIO_INPUT) +GPIO_INT(SPI1_NSS, PIN(A, 4), GPIO_INPUT, spi_event) /* Outputs */ GPIO(EC_INT_L, PIN(A, 1), GPIO_INPUT) /* Enabled when PCH is up */ |