| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef EC_GOOGLE_CHROMEEC_CHIP_H |
| 4 | #define EC_GOOGLE_CHROMEEC_CHIP_H |
| 5 | |
| 6 | #include <device/device.h> |
| 7 | #include <stddef.h> |
| 8 | |
| 9 | #define MAX_TYPEC_PORTS 4 |
| 10 | |
| 11 | struct ec_google_chromeec_config { |
| 12 | /* Pointer to PMC Mux connector for each Type-C port */ |
| 13 | DEVTREE_CONST struct device *mux_conn[MAX_TYPEC_PORTS]; |
| 14 | DEVTREE_CONST struct device *retimer_conn[MAX_TYPEC_PORTS]; |
| 15 | bool ec_multifan_support; |
| 16 | }; |
| 17 | |
| 18 | #endif /* EC_GOOGLE_CHROMEEC_CHIP_H */ |