diff options
author | 2025-02-04 02:45:58 +0000 | |
---|---|---|
committer | 2025-02-14 09:29:07 +0100 | |
commit | dcba69711fff8af4370cb4c00460db0bf47c7093 (patch) | |
tree | 33551d37c34632866ff215c0cb349990903e35c3 | |
parent | usb: typec: thunderbolt: Remove IS_ERR check for plug (diff) | |
download | wireguard-linux-dcba69711fff8af4370cb4c00460db0bf47c7093.tar.xz wireguard-linux-dcba69711fff8af4370cb4c00460db0bf47c7093.zip |
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>
-rw-r--r-- | include/linux/platform_data/cros_ec_commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h index ecf290a0c98f..1f4e4f2b89bb 100644 --- a/include/linux/platform_data/cros_ec_commands.h +++ b/include/linux/platform_data/cros_ec_commands.h @@ -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 */ |