diff mbox series

platform/chrome: Update chromeos EC command tracing

Message ID 20250102210456.2399245-1-gwendal@chromium.org (mailing list archive)
State Accepted
Commit df78050d1a1338dd3e07db959b42c2d03969ed30
Headers show
Series platform/chrome: Update chromeos EC command tracing | expand

Commit Message

Gwendal Grignou Jan. 2, 2025, 9:04 p.m. UTC
Mechanically update tracing with new command:
sed -n 's/^#define \(EC_CMD_[[:alnum:]_]*\)\s.*/\tTRACE_SYMBOL(\1),
\\/p'
include/linux/platform_data/cros_ec_commands.h

Fixes: 425d20518c54 ("media: cros-ec-cec: Support receiving messages from multiple ports")
Fixes: 5d227f02ceb9 ("media: cros-ec-cec: Get number of CEC ports from EC")
Fixes: 56d629af09b9 ("power: supply: PCHG: Peripheral device charger")
Fixes: 845301001308 ("power: supply: PCHG: Use MKBP for device event handling")
Fixes: cd2c40ff90b0 ("platform/chrome: cros_ec: Import Type C host commands")
Fixes: b64afd949ee3 ("platform/chrome: cros_ec: Import Type C control command")
Fixes: 0e0dba884c43 ("platform_chrome: cros_ec: Add Type-C VDM defines")
Fixes: 8553a979fcd0 ("platform/chrome: cros_ec_typec: Send mux configuration acknowledgment to EC")

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
---
 drivers/platform/chrome/cros_ec_trace.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Tzung-Bi Shih Jan. 6, 2025, 1:31 a.m. UTC | #1
On Thu, Jan 02, 2025 at 01:04:56PM -0800, Gwendal Grignou wrote:
> Mechanically update tracing with new command:
> sed -n 's/^#define \(EC_CMD_[[:alnum:]_]*\)\s.*/\tTRACE_SYMBOL(\1),
> \\/p'
> include/linux/platform_data/cros_ec_commands.h
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: Update chromeos EC command tracing
      commit: df78050d1a1338dd3e07db959b42c2d03969ed30

Thanks!
diff mbox series

Patch

diff --git a/drivers/platform/chrome/cros_ec_trace.c b/drivers/platform/chrome/cros_ec_trace.c
index 425e9441b7ca5..9827b3117597c 100644
--- a/drivers/platform/chrome/cros_ec_trace.c
+++ b/drivers/platform/chrome/cros_ec_trace.c
@@ -122,8 +122,10 @@ 
 	TRACE_SYMBOL(EC_CMD_ENTERING_MODE), \
 	TRACE_SYMBOL(EC_CMD_I2C_PASSTHRU_PROTECT), \
 	TRACE_SYMBOL(EC_CMD_CEC_WRITE_MSG), \
+	TRACE_SYMBOL(EC_CMD_CEC_READ_MSG), \
 	TRACE_SYMBOL(EC_CMD_CEC_SET), \
 	TRACE_SYMBOL(EC_CMD_CEC_GET), \
+	TRACE_SYMBOL(EC_CMD_CEC_PORT_COUNT), \
 	TRACE_SYMBOL(EC_CMD_EC_CODEC), \
 	TRACE_SYMBOL(EC_CMD_EC_CODEC_DMIC), \
 	TRACE_SYMBOL(EC_CMD_EC_CODEC_I2S_RX), \
@@ -161,11 +163,18 @@ 
 	TRACE_SYMBOL(EC_CMD_ADC_READ), \
 	TRACE_SYMBOL(EC_CMD_ROLLBACK_INFO), \
 	TRACE_SYMBOL(EC_CMD_AP_RESET), \
+	TRACE_SYMBOL(EC_CMD_PCHG_COUNT), \
+	TRACE_SYMBOL(EC_CMD_PCHG), \
+	TRACE_SYMBOL(EC_CMD_PCHG_UPDATE), \
 	TRACE_SYMBOL(EC_CMD_REGULATOR_GET_INFO), \
 	TRACE_SYMBOL(EC_CMD_REGULATOR_ENABLE), \
 	TRACE_SYMBOL(EC_CMD_REGULATOR_IS_ENABLED), \
 	TRACE_SYMBOL(EC_CMD_REGULATOR_SET_VOLTAGE), \
 	TRACE_SYMBOL(EC_CMD_REGULATOR_GET_VOLTAGE), \
+	TRACE_SYMBOL(EC_CMD_TYPEC_DISCOVERY), \
+	TRACE_SYMBOL(EC_CMD_TYPEC_CONTROL), \
+	TRACE_SYMBOL(EC_CMD_TYPEC_STATUS), \
+	TRACE_SYMBOL(EC_CMD_TYPEC_VDM_RESPONSE), \
 	TRACE_SYMBOL(EC_CMD_CR51_BASE), \
 	TRACE_SYMBOL(EC_CMD_CR51_LAST), \
 	TRACE_SYMBOL(EC_CMD_FP_PASSTHRU), \
@@ -184,6 +193,7 @@ 
 	TRACE_SYMBOL(EC_CMD_BATTERY_GET_STATIC), \
 	TRACE_SYMBOL(EC_CMD_BATTERY_GET_DYNAMIC), \
 	TRACE_SYMBOL(EC_CMD_CHARGER_CONTROL), \
+	TRACE_SYMBOL(EC_CMD_USB_PD_MUX_ACK), \
 	TRACE_SYMBOL(EC_CMD_BOARD_SPECIFIC_BASE), \
 	TRACE_SYMBOL(EC_CMD_BOARD_SPECIFIC_LAST)