From 9684fadcc059f4644dd5932acf125e94d9f0e55e Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Mon, 21 Jun 2021 16:59:21 -0600 Subject: dedede: Enable CONFIG_ASSERT_CCD_MODE_ON_DTS_CONNECT Enable CONFIG_ASSERT_CCD_MODE_ON_DTS_CONNECT on all dedede boards. This will assert GPIO_CCD_MODE_ODL when a debug device is connected to a CCD port. GPIO_CCD_MODE_ODL must be configured as an open drain so EC and Cr50 don't drive fight. BUG=b:190189242 TEST=Build dedede BRANCH=None Change-Id: I2d71312967f2d4a693ac9753279f49478e8c092c Signed-off-by: Rob Barnes Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2976759 Reviewed-by: Diana Z Reviewed-by: Aseda Aboagye Tested-by: Diana Z --- board/blipper/gpio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/blipper/gpio.inc') diff --git a/board/blipper/gpio.inc b/board/blipper/gpio.inc index c536d55537..516fcdcf61 100644 --- a/board/blipper/gpio.inc +++ b/board/blipper/gpio.inc @@ -90,7 +90,7 @@ GPIO(EC_AP_MKBP_INT_L, PIN(L, 5), GPIO_ODR_HIGH) GPIO(EN_BL_OD, PIN(K, 4), GPIO_ODR_LOW) GPIO(EC_ENTERING_RW, PIN(G, 0), GPIO_OUT_LOW) GPIO(EC_ENTERING_RW2, PIN(C, 7), GPIO_OUT_LOW) -GPIO(CCD_MODE_ODL, PIN(H, 5), GPIO_INPUT) +GPIO(CCD_MODE_ODL, PIN(H, 5), GPIO_ODR_HIGH) GPIO(EC_BATTERY_PRES_ODL, PIN(I, 4), GPIO_INPUT) GPIO(ECH1_PACKET_MODE, PIN(H, 1), GPIO_OUT_LOW) -- cgit v1.2.1