1sample:
2  description: A basic demo to showcase eSPI driver usage and handshake with eSPI
3    master
4  name: eSPI driver sample
5tests:
6  sample.drivers.espi:
7    tags:
8      - drivers
9      - espi
10    filter: dt_compat_enabled("microchip,mec15xx-board-power")
11    depends_on: espi
12    harness: console
13    harness_config:
14      fixture: espi_device_connect
15      type: multi_line
16      ordered: true
17      regex:
18        - "Hello eSPI test (.*)"
19        - "eSPI test - I/O initialization...complete"
20        - "eSPI slave configured successfully!"
21        - "eSPI test - callbacks initialization... complete"
22        - "eSPI test - Power initialization...complete"
23        - "eSPI BUS reset (.*)"
24        - "espi: Hello eSPI test mec1501modular_assy6885"
25        - "espi: eSPI slave configured successfully"
26        - "espi: eSPI test - callbacks initialization..."
27        - "espi: complete"
28        - "espi: eSPI test - callbacks registration..."
29        - "espi: complete"
30        - "espi: eSPI BUS reset 1"
31        - "espi: VW channel is ready"
32        - "espi: Flash channel is ready"
33        - "espi: Test eSPI write flash"
34        - "espi: 16 write flash transactions completed"
35        - "espi: 16 write flash transactions completed"
36        - "espi: Test eSPI read flash"
37        - "espi: 16 read flash transactions completed"
38        - "espi: 16 read flash transactions completed"
39        - "espi: eSPI test - Handshake with eSPI master..."
40        - "espi: 1st phase completed"
41        - "espi: 2nd phase completed"
42        - "espi: PLT_RST changed 1"
43        - "espi: 3rd phase completed"
44        - "espi: get_pch_temp:"
45        - "espi: OOB transaction completed rcvd: 4 bytes"
46        - "espi: Postcode fe"
47        - "espi: Postcode 7f"
48        - "espi: eSPI sample completed"
49