From 30e20eecf5a8e0c425611d0bd75cac0c585a9d2a Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 18 Feb 2020 21:24:01 -0800 Subject: waddledoo: Set CMPOUT as inverted to enable 5V The charger has a general comparator which is enabled by default. The output of this comparator enables the sub board power rails. This commit adds a mechanism to turn on the 5V on the sub board tied to when the system decides to enable 5V. BUG=b:149794574 BRANCH=None TEST=Build and flash waddledoo, boot to S0, plug in a sink, verify that VCONN is sourced. Change-Id: I05384bdbdde4ccc033c2057b3c45fcaeae4589cc Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2065495 Commit-Queue: Aseda Aboagye Tested-by: Aseda Aboagye Auto-Submit: Aseda Aboagye Reviewed-by: Diana Z --- baseboard/dedede/baseboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'baseboard') diff --git a/baseboard/dedede/baseboard.h b/baseboard/dedede/baseboard.h index 4f3dd6551b..09447ed27b 100644 --- a/baseboard/dedede/baseboard.h +++ b/baseboard/dedede/baseboard.h @@ -86,6 +86,7 @@ #define CONFIG_I2C #define CONFIG_I2C_MASTER #define CONFIG_LOW_POWER_IDLE +#define CONFIG_POWER_PP5000_CONTROL #define CONFIG_VBOOT_HASH #define CONFIG_VSTORE #define CONFIG_VSTORE_SLOT_COUNT 1 -- cgit v1.2.1