blob: 805559177084f21fa1874e91f79fde9b25a1196b (
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 (c) 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 __USB_PD_CONFIG_H
#define __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 /* __USB_PD_CONFIG_H */
|