summaryrefslogtreecommitdiff
path: root/baseboard/brya/baseboard_usbc_config.h
blob: 17f1fe6b064f55e091da85b0543133c49c4fe522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2021 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* brya family-specific USB-C configuration */

#ifndef __CROS_EC_BASEBOARD_USBC_CONFIG_H
#define __CROS_EC_BASEBOARD_USBC_CONFIG_H

#include "gpio_signal.h"

/* Common definition for the USB PD interrupt handlers. */
#ifdef CONFIG_USB_CHARGER
void bc12_interrupt(enum gpio_signal signal);
#endif
void ppc_interrupt(enum gpio_signal signal);
void retimer_interrupt(enum gpio_signal signal);
void tcpc_alert_event(enum gpio_signal signal);

#endif /* __CROS_EC_BASEBOARD_USBC_CONFIG_H */