diff options
Diffstat (limited to 'include/usb_pd_dp_ufp.h')
-rw-r--r-- | include/usb_pd_dp_ufp.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/usb_pd_dp_ufp.h b/include/usb_pd_dp_ufp.h deleted file mode 100644 index 64728d948e..0000000000 --- a/include/usb_pd_dp_ufp.h +++ /dev/null @@ -1,35 +0,0 @@ -/* 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. - */ - -/* - * Common functions for UFP-D devices. - */ - -#ifndef __CROS_EC_USB_PD_DP_UFP_H -#define __CROS_EC_USB_PD_DP_UFP_H - -struct hpd_to_pd_config_t { - int port; - enum gpio_signal signal; -}; - -extern const struct hpd_to_pd_config_t hpd_config; -/* - * Function used to handle hpd gpio interrupts. - * - * @param signal -> gpio signal associated with hpd interrupt - */ -void usb_pd_hpd_edge_event(int signal); - -/* - * Function used to enable/disable the hpd->dp attention protocol converter - * - called with enable when enter mode command is processed. - * - called with disable when exit mode command is processed. - * - * @param enable -> converter on/off - */ -void usb_pd_hpd_converter_enable(int enable); - -#endif /* __CROS_EC_USB_PD_DP_UFP_H */ |