summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/chip.h
blob: bb03e5731d210cadecf98f80c3617e97748fcf03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef EC_GOOGLE_CHROMEEC_CHIP_H
#define EC_GOOGLE_CHROMEEC_CHIP_H

#include <device/device.h>
#include <stddef.h>

#define MAX_TYPEC_PORTS		4

struct ec_google_chromeec_config {
	/* Pointer to PMC Mux connector for each Type-C port */
	DEVTREE_CONST struct device *mux_conn[MAX_TYPEC_PORTS];
	DEVTREE_CONST struct device *retimer_conn[MAX_TYPEC_PORTS];
};

#endif /* EC_GOOGLE_CHROMEEC_CHIP_H */