diff options
author | Tommy Chung <tommy.chung@quanta.corp-partner.google.com> | 2021-08-26 11:34:36 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-09 23:12:03 +0000 |
commit | 93ddb558b06c810620d0d4de5bd6b6c6f4333200 (patch) | |
tree | 2c5099cbff8640d564a0d1f40e981437aa13b3ca /board/kingoftown/usbc_config.h | |
parent | d64db025f24121d65c4c8ff5f1f4111fa5ceb686 (diff) | |
download | chrome-ec-93ddb558b06c810620d0d4de5bd6b6c6f4333200.tar.gz |
kingoftown: Initial EC image
Create the initial EC image for the kingoftown variant by copying
the trogdor 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:198365759
BRANCH=firmware-trogdor-13577.B-master
TEST=make BOARD=kingoftown
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I56b34d317509ed74dac405492be9a035375f36e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120609
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board/kingoftown/usbc_config.h')
-rw-r--r-- | board/kingoftown/usbc_config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/board/kingoftown/usbc_config.h b/board/kingoftown/usbc_config.h new file mode 100644 index 0000000000..75adf93b3c --- /dev/null +++ b/board/kingoftown/usbc_config.h @@ -0,0 +1,19 @@ +/* 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. + */ + +/* Trogdor board-specific USB-C configuration */ + +#ifndef __CROS_EC_USBC_CONFIG_H +#define __CROS_EC_USBC_CONFIG_H + +#include "gpio.h" + +void tcpc_alert_event(enum gpio_signal signal); +void usb0_evt(enum gpio_signal signal); +void usb1_evt(enum gpio_signal signal); +void usba_oc_interrupt(enum gpio_signal signal); +void ppc_interrupt(enum gpio_signal signal); + +#endif /* __CROS_EC_USBC_CONFIG_H */ |