summaryrefslogtreecommitdiff
path: root/driver/tcpm/ite_pd_intc.h
blob: 8123e1a23303bc7b16136262faf9734e8eb5ca91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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.
 */

/* ITE PD INTC control module */

#ifndef __CROS_EC_ITE_PD_INTC_H
#define __CROS_EC_ITE_PD_INTC_H

/**
 * ITE embedded PD interrupt routine
 *
 * NOTE: Enable ITE embedded PD that it requires CONFIG_USB_PD_TCPM_ITE_ON_CHIP
 *
 * @param port Type-C port number
 *
 * @return none
 */
void chip_pd_irq(enum usbpd_port port);

#endif /* __CROS_EC_ITE_PD_INTC_H */