From 725577c7573a0073d404809bfd9a2fe35553e9b7 Mon Sep 17 00:00:00 2001 From: Tim Lin Date: Mon, 30 Jan 2023 11:30:44 +0800 Subject: zephyr: tentacruel: Enable I2C related configuration Enable PLATFORM_EC_I2C_NACK_RETRY_COUNT configuration. The retry count is set to 5 times. Enable PLATFORM_EC_SMBUS_PEC configuration. BUG=b:238921417 BRANCH=none TEST=The error message:"charge problem: batt params" did not occur during the S3 stress test and frequent gpioget command testing. Change-Id: I5bfa50640185e54abc7d5e58319e8e4707ad3abd Signed-off-by: Tim Lin Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4199251 Reviewed-by: Peter Marheine Reviewed-by: Eric Yilun Lin Reviewed-by: Keith Short --- zephyr/program/corsola/tentacruel/project.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zephyr/program/corsola/tentacruel/project.conf') diff --git a/zephyr/program/corsola/tentacruel/project.conf b/zephyr/program/corsola/tentacruel/project.conf index 587e3932ba..6b218d5d08 100644 --- a/zephyr/program/corsola/tentacruel/project.conf +++ b/zephyr/program/corsola/tentacruel/project.conf @@ -20,6 +20,8 @@ CONFIG_PLATFORM_EC_DYNAMIC_MOTION_SENSOR_COUNT=y # Battery CONFIG_PLATFORM_EC_CHARGER_PROFILE_OVERRIDE=y +CONFIG_PLATFORM_EC_I2C_NACK_RETRY_COUNT=5 +CONFIG_PLATFORM_EC_SMBUS_PEC=y # Remove bring up options for FW QUAL CONFIG_PLATFORM_EC_BRINGUP=n -- cgit v1.2.1 From 6b0377742e9982432cacaf3ce0a3d77209a169da Mon Sep 17 00:00:00 2001 From: luluboy_Jian Date: Mon, 13 Feb 2023 00:22:36 -0500 Subject: zephyr: tentacruel: Increase PLATFORM_EC_I2C_NACK_RETRY_COUNT After enable PLATFORM_EC_I2C_NACK_RETRY_COUNT configuration. It is still show charge problem: batt params, 0x0 -> 0x42 once. So follow previous kukui platform. The retry count is set to 10 times. BUG=b:238921417 BRANCH=none TEST=The error message:"charge problem: batt params" did not occur during the S3 stress test and frequent gpioget command testing. Change-Id: I1f7db82907c332b17845676d9759649a85223eb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4243820 Tested-by: Luluboy Jian Reviewed-by: Eric Yilun Lin Commit-Queue: Luluboy Jian --- zephyr/program/corsola/tentacruel/project.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zephyr/program/corsola/tentacruel/project.conf') diff --git a/zephyr/program/corsola/tentacruel/project.conf b/zephyr/program/corsola/tentacruel/project.conf index 6b218d5d08..8229e23f9f 100644 --- a/zephyr/program/corsola/tentacruel/project.conf +++ b/zephyr/program/corsola/tentacruel/project.conf @@ -20,7 +20,7 @@ CONFIG_PLATFORM_EC_DYNAMIC_MOTION_SENSOR_COUNT=y # Battery CONFIG_PLATFORM_EC_CHARGER_PROFILE_OVERRIDE=y -CONFIG_PLATFORM_EC_I2C_NACK_RETRY_COUNT=5 +CONFIG_PLATFORM_EC_I2C_NACK_RETRY_COUNT=10 CONFIG_PLATFORM_EC_SMBUS_PEC=y # Remove bring up options for FW QUAL -- cgit v1.2.1