diff options
Diffstat (limited to 'include/usb_pd_pdo.h')
-rw-r--r-- | include/usb_pd_pdo.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/usb_pd_pdo.h b/include/usb_pd_pdo.h new file mode 100644 index 0000000000..4219c05183 --- /dev/null +++ b/include/usb_pd_pdo.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. + */ + +#ifndef __CROS_EC_COMMON_USB_PD_PDO_H +#define __CROS_EC_COMMON_USB_PD_PDO_H + +/* ---------------- Power Data Objects (PDOs) ----------------- */ +#ifndef CONFIG_USB_PD_CUSTOM_PDO +extern const uint32_t pd_src_pdo[1]; +extern const int pd_src_pdo_cnt; +extern const uint32_t pd_src_pdo_max[1]; +extern const int pd_src_pdo_max_cnt; +extern const uint32_t pd_snk_pdo[3]; +extern const int pd_snk_pdo_cnt; +#endif /* CONFIG_USB_PD_CUSTOM_PDO */ + +#endif /* __CROS_EC_COMMON_USB_PD_PDO_H */ |