summaryrefslogtreecommitdiff
path: root/board/aleena
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2019-02-04 14:33:27 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-02-12 18:22:05 -0800
commit1f883987e9d71223058d7cb8771607977f3688d5 (patch)
tree8ae7839654386cdcb88204332c40a16cfc81c990 /board/aleena
parentbe87c9f8beb86dd224226ccf9620ee0679c5024b (diff)
downloadchrome-ec-1f883987e9d71223058d7cb8771607977f3688d5.tar.gz
aleena: Enable GPIO-based MKBP event notification
Send MKBP events (for sensor data) over GPIO instead of host event. BUG=b:123750725 BRANCH=grunt TEST=MKBP events still received Change-Id: Ie1b02bbb8df44ade5ec6f1a4ba5dc4c5142e9f39 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1452936 Reviewed-by: Enrico Granata <egranata@chromium.org> Reviewed-by: Raul E Rangel <rrangel@chromium.org>
Diffstat (limited to 'board/aleena')
-rw-r--r--board/aleena/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/aleena/gpio.inc b/board/aleena/gpio.inc
index 1256ecb6cb..87f6da31a0 100644
--- a/board/aleena/gpio.inc
+++ b/board/aleena/gpio.inc
@@ -40,6 +40,7 @@ GPIO(CPU_PROCHOT, PIN(3, 4), GPIO_INPUT | GPIO_SEL_1P8V) /* PROCHOT to SOC */
GPIO(APU_ALERT_L, PIN(A, 2), GPIO_INPUT) /* Alert to SOC */
GPIO(3AXIS_INT_L, PIN(5, 0), GPIO_INPUT | GPIO_SEL_1P8V) /* 3 Axis Accel */
GPIO(KB_BL_EN, PIN(F, 2), GPIO_OUT_LOW) /* Enable KB Backlight */
+GPIO(EC_INT_L, PIN(A, 4), GPIO_ODR_HIGH) /* Sensor MKBP event to SOC */
/* I2C pins - these will be reconfigured for alternate function below */
GPIO(I2C0_SCL, PIN(B, 5), GPIO_INPUT) /* EC_I2C_POWER_SCL */
@@ -62,7 +63,6 @@ GPIO(I2C7_SDA, PIN(B, 2), GPIO_INPUT | GPIO_SEL_1P8V) /* EC_I2C_SENSOR_SDA */
* so PCH_SCI_ODL [PIN(7, 6)] and PCH_SMI_ODL [PIN(C, 6)] are
* not defined here as GPIOs.
*/
-GPIO(PCH_SLP_S0_L, PIN(A, 4), GPIO_INPUT)
GPIO(EN_USB_A0_5V, PIN(6, 1), GPIO_OUT_LOW) /* Enable A0 5V Charging */
GPIO(EN_USB_A1_5V, PIN(C, 0), GPIO_OUT_LOW) /* Enable A1 5V Charging */