diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 14 | ||||
-rw-r--r-- | include/usb_pd_tcpm.h | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index e6d02c8ee9..8ce663898c 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -4721,6 +4721,20 @@ struct __ec_align2 ec_response_pd_chip_info { }; }; +struct __ec_align2 ec_response_pd_chip_info_v1 { + uint16_t vendor_id; + uint16_t product_id; + uint16_t device_id; + union { + uint8_t fw_version_string[8]; + uint64_t fw_version_number; + }; + union { + uint8_t min_req_fw_version_string[8]; + uint64_t min_req_fw_version_number; + }; +}; + /* Run RW signature verification and get status */ #define EC_CMD_RWSIG_CHECK_STATUS 0x011C diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index 2d12b31ceb..00fe2ab958 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -218,7 +218,7 @@ struct tcpm_drv { * @return EC_SUCCESS or error */ int (*get_chip_info)(int port, int renew, - struct ec_response_pd_chip_info **info); + struct ec_response_pd_chip_info_v1 **info); #ifdef CONFIG_USBC_PPC /** |