summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKevin Chiu <Kevin.Chiu@quantatw.com>2019-09-17 14:27:59 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-09-18 12:57:06 +0000
commit0f21de842342b3108f8680834cdbcf2c43337958 (patch)
treefe5df6d51be4c255dfe906129b2e3ee767d3ee00 /src/mainboard/google
parent05e8dd18b1768e5a6bf583ead18234ed8ebe4f84 (diff)
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 <Kevin.Chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35442 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marco Chen <marcochen@google.com> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/octopus/variants/garg/variant.c3
1 files changed, 3 insertions, 0 deletions
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: