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.
Showing the changes to include/linux/platform_data (1 of 1 file). Show all
Unified · Split
| @@ -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 | ||
| 5050 | struct ec_response_host_event_status { | 5051 | struct ec_response_host_event_status { |
| 5051 | uint32_t status; /* PD MCU host event status */ | 5052 | uint32_t status; /* PD MCU host event status */ |