Skip to content

Commit

Permalink
include: drivers: espi: Add additional peripheral notifications
Browse files Browse the repository at this point in the history
Expand API to allow additional eSPI driver callbacks coming from
eSPI peripheral channel.

Signed-off-by: Jose Alberto Meza <[email protected]>
  • Loading branch information
albertofloyd authored and carlescufi committed Apr 5, 2022
1 parent 89d6695 commit b8e1ce7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/drivers/espi.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ enum espi_bus_event {
ESPI_BUS_PERIPHERAL_NOTIFICATION = BIT(4),
};

/**
* @brief eSPI peripheral channel events.
*
* eSPI peripheral channel event types to indicate users.
*/
enum espi_pc_event {
ESPI_PC_EVT_BUS_CHANNEL_READY = BIT(0),
ESPI_PC_EVT_BUS_MASTER_ENABLE = BIT(1),
};

/**
* @cond INTERNAL_HIDDEN
*
Expand Down

0 comments on commit b8e1ce7

Please sign in to comment.