blob: 8561d4825c9ae1455f017c64870d26b3038c6b09 (
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
|
/* Copyright 2022 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.
*/
/* Nissa common declarations */
#ifndef __CROS_EC_NISSA_NISSA_COMMON_H__
#define __CROS_EC_NISSA_NISSA_COMMON_H__
#include "usb_mux.h"
enum nissa_sub_board_type {
NISSA_SB_UNKNOWN = -1, /* Uninitialised */
NISSA_SB_NONE = 0, /* No board defined */
NISSA_SB_C_A = 1, /* USB type C, USB type A */
NISSA_SB_C_LTE = 2, /* USB type C, WWAN LTE */
NISSA_SB_HDMI_A = 3, /* HDMI, USB type A */
};
extern struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT];
enum nissa_sub_board_type nissa_get_sb_type(void);
#endif /* __CROS_EC_NISSA_NISSA_COMMON_H__ */
|