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>
This commit is contained in:
parent
05e8dd18b1
commit
0f21de8423
|
@ -25,6 +25,8 @@ enum {
|
||||||
SKU_1_2A2C = 1,
|
SKU_1_2A2C = 1,
|
||||||
SKU_9_HDMI = 9,
|
SKU_9_HDMI = 9,
|
||||||
SKU_17_LTE = 17,
|
SKU_17_LTE = 17,
|
||||||
|
SKU_18_LTE_TS = 18,
|
||||||
|
SKU_37_2A2C_360 = 37,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct gpio_with_delay {
|
struct gpio_with_delay {
|
||||||
|
@ -78,6 +80,7 @@ void variant_smi_sleep(u8 slp_typ)
|
||||||
|
|
||||||
switch (get_board_sku()) {
|
switch (get_board_sku()) {
|
||||||
case SKU_17_LTE:
|
case SKU_17_LTE:
|
||||||
|
case SKU_18_LTE_TS:
|
||||||
power_off_lte_module(slp_typ);
|
power_off_lte_module(slp_typ);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue