summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/include/sub_board.h
blob: b9a9527eb89d10210a70d996e0869550c487fed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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 sub board detection */

#ifndef __CROS_EC_NISSA_SUB_BOARD_H
#define __CROS_EC_NISSA_SUB_BOARD_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 */
};

enum nissa_sub_board_type nissa_get_sb_type(void);

#endif /* __CROS_EC_NISSA_SUB_BOARD_H */