diff options
author | Bhanu Prakash Maiya <bhanumaiya@google.com> | 2021-08-23 14:43:52 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-24 00:42:22 +0000 |
commit | 02d8502be09282c3abe5902830ffd91a05b6e88f (patch) | |
tree | 82ad18dac3e17b669e1cd69e29a57e4ec926c5dd /board/dewatt/gpio.inc | |
parent | 14d1cd8c83e7b6f1329688ad76dbb35b07f40654 (diff) | |
download | chrome-ec-02d8502be09282c3abe5902830ffd91a05b6e88f.tar.gz |
dewatt: Initial EC image
Create the initial EC image for the dewatt variant by copying the
guybrush reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.5.0).
BUG=b:196460993
BRANCH=None
TEST=make BOARD=dewatt
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Change-Id: Ie4c683e10f15054c137784547aa535932ca77800
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114048
Commit-Queue: Rob Barnes <robbarnes@google.com>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'board/dewatt/gpio.inc')
-rw-r--r-- | board/dewatt/gpio.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/dewatt/gpio.inc b/board/dewatt/gpio.inc new file mode 100644 index 0000000000..c2db7a2a68 --- /dev/null +++ b/board/dewatt/gpio.inc @@ -0,0 +1,13 @@ +/* -*- mode:c -*- + * + * Copyright 2021 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* Declare symbolic names for all the board GPIOs that we care about. */ + +#include "base_gpio.inc" + +GPIO_INT(6AXIS_INT_L, PIN(A, 0), GPIO_INT_FALLING | GPIO_PULL_UP, motion_interrupt) /* 6 Axis IMU */ +GPIO_INT(TABLET_MODE, PIN(C, 1), GPIO_INT_BOTH, gmr_tablet_switch_isr) /* 360 Tablet Mode */ |