blob: fb12b2ce7d25a2b8e5a8b9fc57e5512afec1a407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Copyright 2014 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.
*/
/* USB Power delivery board configuration */
#ifndef __CROS_EC_USB_PD_CONFIG_H
#define __CROS_EC_USB_PD_CONFIG_H
/* Use software CRC */
#define CONFIG_SW_CRC
void pd_select_polarity(int port, int polarity);
void pd_tx_init(void);
void pd_set_host_mode(int port, int enable);
void pd_config_init(int port, uint8_t power_role);
int pd_adc_read(int port, int cc);
#endif /* __CROS_EC_USB_PD_CONFIG_H */
|