summaryrefslogtreecommitdiff
path: root/board/host/usb_pd_config.c
blob: aec495a0c90078b78560842f34c3e32abf9eed81 (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
25
26
27
28
29
30
31
32
33
34
35
/* 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 */

#include "test_util.h"

test_mockable void pd_select_polarity(int port, int polarity)
{
	/* Not implemented */
}

test_mockable void pd_tx_init(void)
{
	/* Not implemented */
}

test_mockable void pd_set_host_mode(int port, int enable)
{
	/* Not implemented */
}

test_mockable int pd_adc_read(int port, int cc)
{
	/* Not implemented */
	return 0;
}

test_mockable int pd_snk_is_vbus_provided(int port)
{
	/* Not implemented */
	return 1;
}