mb/google/nocturne: Define GPP_D17 as EC_SYNC_IRQ
commit3f59f082e3c1a0ffe382580a31ebfa8b58fc2785
authorDuncan Laurie <dlaurie@google.com>
Wed, 26 Sep 2018 21:30:59 +0000 (26 21:30 +0000)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 4 Oct 2018 09:37:26 +0000 (4 09:37 +0000)
tree5b0fe1e1fe74f977f0971175c626736a13937ba5
parentecf6531c47f77cae0e5d1349319b1f2c997e994f
mb/google/nocturne: Define GPP_D17 as EC_SYNC_IRQ

Use GPIO GPP_D17 pin as the EC sync interrupt and provide this value
to the embedded controller to be exported to the OS.

This interface was tested on a reworked Nocturne board with modified
EC and a modified kernel driver to ensure that the interrupt asserts
as expected and can be used by the kernel driver.

Change-Id: Ie2b33692367b5d9ecc2b128180d8cfe4f6b347b1
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/28759
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/poppy/variants/nocturne/gpio.c
src/mainboard/google/poppy/variants/nocturne/include/variant/ec.h
src/mainboard/google/poppy/variants/nocturne/include/variant/gpio.h