History

platform/chrome: add PD_EVENT_INIT bit definition

Update cros_ec_commands.h to include a definition for PD_EVENT_INIT. On platforms supporting UCSI, this host event type is sent when the PPM initializes.

Jameson Thies committed 1 year ago

Commit dcba6971 parent 9682c351 file · +1 −0Browse files

Showing the changes to include/linux/platform_data (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/cros_ec_commands.h+1−0
@@ -5046,6 +5046,7 @@ struct ec_response_pd_status { · 5045 unmodified lines
5046#define PD_EVENT_DATA_SWAP BIT(3)5046#define PD_EVENT_DATA_SWAP BIT(3)
5047#define PD_EVENT_TYPEC BIT(4)5047#define PD_EVENT_TYPEC BIT(4)
5048#define PD_EVENT_PPM BIT(5)5048#define PD_EVENT_PPM BIT(5)
5049#define PD_EVENT_INIT BIT(6)
5049 5050
5050struct ec_response_host_event_status {5051struct ec_response_host_event_status {
5051 uint32_t status; /* PD MCU host event status */5052 uint32_t status; /* PD MCU host event status */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t