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. Signed-off-by: Jameson Thies <jthies@google.com> Reviewed-by: Benson Leung <bleung@chromium.org> Acked-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Łukasz Bartosik <ukaszb@chromium.org> Link: https://lore.kernel.org/r/20250204024600.4138776-2-jthies@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9682c35ff6
commit
dcba69711f
@@ -5046,6 +5046,7 @@ struct ec_response_pd_status {
|
||||
#define PD_EVENT_DATA_SWAP BIT(3)
|
||||
#define PD_EVENT_TYPEC BIT(4)
|
||||
#define PD_EVENT_PPM BIT(5)
|
||||
#define PD_EVENT_INIT BIT(6)
|
||||
|
||||
struct ec_response_host_event_status {
|
||||
uint32_t status; /* PD MCU host event status */
|
||||
|
||||
Reference in New Issue
Block a user