summaryrefslogtreecommitdiff
path: root/include/usb_pd_pdo.h
blob: 9e75555b63056fc28d02782b563067b0fa9aac63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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.
 */

#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 */