From a51ff0712cd85ecd9f46ec7c928688b7d463ff28 Mon Sep 17 00:00:00 2001 From: Van Chen Date: Tue, 5 Jun 2018 11:47:42 +0800 Subject: [PATCH] mb/google/poppy/variants/nami: Disable rear camera/DMIC for vayne skuid 3A67 Since Vayne added one more skuid 3A67, we need to disable rear camera/DMIC for vayne skuid 3A67. BUG=b:75073617 BRANCH=master TEST=Verify if only front camera/DMIC shown on Vayne Change-Id: I9131b4c41bf189829be4e7e6bfaf4a96765cfa15 Signed-off-by: Van Chen Reviewed-on: https://review.coreboot.org/26855 Reviewed-by: Paul Menzel Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/poppy/variants/nami/gpio.c | 1 + src/mainboard/google/poppy/variants/nami/mainboard.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index d1b4c54cbd..0e6b1b71c4 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -401,6 +401,7 @@ const struct pad_config *variant_sku_gpio_table(size_t *num) uint32_t sku_id = variant_board_sku(); const struct pad_config *board_gpio_tables; switch (sku_id) { + case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: *num = ARRAY_SIZE(vayne_sku_gpio_table); diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index a98d7bfba0..957762331c 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -65,6 +65,7 @@ void variant_devtree_update(void) cfg->tdp_pl2_override = get_pl2(); switch (sku_id) { + case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: /* Disable unused port USB port */