• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SERIALIO_H_
4 #define _SERIALIO_H_
5 
6 #if CONFIG(SOC_INTEL_COMETLAKE)
7 typedef enum {
8 	PchSerialIoNotInitialized,
9 	PchSerialIoDisabled,
10 	PchSerialIoPci,
11 	PchSerialIoHidden,
12 	PchSerialIoLegacyUart,
13 	PchSerialIoSkipInit,
14 	PchSerialIoMax,
15 } PCH_SERIAL_IO_MODE;
16 #else
17 typedef enum {
18 	PchSerialIoNotInitialized,
19 	PchSerialIoDisabled,
20 	PchSerialIoPci,
21 	PchSerialIoAcpi,
22 	PchSerialIoHidden,
23 	PchSerialIoMax,
24 } PCH_SERIAL_IO_MODE;
25 #endif
26 
27 typedef enum {
28 	PchSerialIoIndexI2C0,
29 	PchSerialIoIndexI2C1,
30 	PchSerialIoIndexI2C2,
31 	PchSerialIoIndexI2C3,
32 	PchSerialIoIndexI2C4,
33 	PchSerialIoIndexI2C5,
34 	PchSerialIoIndexSPI0,
35 	PchSerialIoIndexSPI1,
36 	PchSerialIoIndexSPI2,
37 	PchSerialIoIndexUART0,
38 	PchSerialIoIndexUART1,
39 	PchSerialIoIndexUART2,
40 	PchSerialIoIndexMAX
41 } PCH_SERIAL_IO_CONTROLLER;
42 
43 #endif
44