blob: b42c0f59feedf0cb05310eaed8f2fe316cfb8b43 (
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
|
/* 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.
*/
/* Anahera board-specific USB-C configuration */
#ifndef __CROS_EC_USBC_CONFIG_H
#define __CROS_EC_USBC_CONFIG_H
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
/* USB-A ports */
enum usba_port {
USBA_PORT_A0 = 0,
USBA_PORT_A1,
USBA_PORT_COUNT
};
/* USB-C ports */
enum usbc_port {
USBC_PORT_C0 = 0,
USBC_PORT_C1,
USBC_PORT_COUNT
};
struct ps8811_reg_val {
uint8_t reg;
uint16_t val;
};
#endif /* __CROS_EC_USBC_CONFIG_H */
|