From 0f21de842342b3108f8680834cdbcf2c43337958 Mon Sep 17 00:00:00 2001 From: Kevin Chiu Date: Tue, 17 Sep 2019 14:27:59 +0800 Subject: mb/google/octopus/variants/garg: add LTE sku to config power sequence Add SKU#18 to config power sequence below: GPIOs related to power sequnce are GPIO_67 - EN_PP3300 GPIO_117 - FULL_CARD_POWER_ON_OFF GPIO_161 - PLT_RST_LTE_L 1. Power on: GPIO_67 -> 0ms -> GPIO_117 -> 30ms -> GPIO_161 2. Power off: GPIO_161 -> 30ms -> GPIO_117 -> 100ms -> GPIO_67 3. Power reset: - keep GPIO_67 and GPIO_117 high and - pull down GPIO_161 for 30ms then release it. BUG=b:134854577,b:137033609 BRANCH=octopus TEST=build Change-Id: I58e07518f6daaf608684c9fa1b1c88fc592ea117 Signed-off-by: Kevin Chiu Reviewed-on: https://review.coreboot.org/c/coreboot/+/35442 Tested-by: build bot (Jenkins) Reviewed-by: Marco Chen Reviewed-by: Justin TerAvest Reviewed-by: Furquan Shaikh --- src/mainboard/google/octopus/variants/garg/variant.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/octopus') diff --git a/src/mainboard/google/octopus/variants/garg/variant.c b/src/mainboard/google/octopus/variants/garg/variant.c index 2754e640f9..942ea5f3b4 100644 --- a/src/mainboard/google/octopus/variants/garg/variant.c +++ b/src/mainboard/google/octopus/variants/garg/variant.c @@ -25,6 +25,8 @@ enum { SKU_1_2A2C = 1, SKU_9_HDMI = 9, SKU_17_LTE = 17, + SKU_18_LTE_TS = 18, + SKU_37_2A2C_360 = 37, }; struct gpio_with_delay { @@ -78,6 +80,7 @@ void variant_smi_sleep(u8 slp_typ) switch (get_board_sku()) { case SKU_17_LTE: + case SKU_18_LTE_TS: power_off_lte_module(slp_typ); return; default: -- cgit v1.2.3