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