mb/google/poppy/variants/nami: Disable rear camera/DMIC for Syndra

Since there are two cameras on Nami and only one camera on Syndra.
We need to disable rear camera/DMIC on all Syndra sku.

BUG=b:112876867

Change-Id: I92fb43ec84387c268ffdb6d0d34a5e5b13bcf50a
Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/29022
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Amanda Huang 2018-10-11 11:39:37 +08:00 committed by Furquan Shaikh
parent ac4819de70
commit f7b57d0b78
3 changed files with 12 additions and 0 deletions

View File

@ -415,6 +415,10 @@ const struct pad_config *variant_sku_gpio_table(size_t *num)
case SKU_2_VAYNE:
case SKU_0_SONA:
case SKU_1_SONA:
case SKU_0_SYNDRA:
case SKU_1_SYNDRA:
case SKU_2_SYNDRA:
case SKU_3_SYNDRA:
*num = ARRAY_SIZE(no_dmic1_sku_gpio_table);
board_gpio_tables = no_dmic1_sku_gpio_table;
break;

View File

@ -30,5 +30,9 @@
#define SKU_1_AKALI 0x2861
#define SKU_0_AKALI360 0x2BE7
#define SKU_1_AKALI360 0x2A67
#define SKU_0_SYNDRA 0x2BC63
#define SKU_1_SYNDRA 0x2BC62
#define SKU_2_SYNDRA 0x2BC61
#define SKU_3_SYNDRA 0X2BC60
#endif /* __MAINBOARD_SKU_H__ */

View File

@ -234,6 +234,10 @@ void variant_devtree_update(void)
case SKU_2_PANTHEON:
case SKU_0_SONA:
case SKU_1_SONA:
case SKU_0_SYNDRA:
case SKU_1_SYNDRA:
case SKU_2_SYNDRA:
case SKU_3_SYNDRA:
/* Disable unused port USB port */
cfg->usb2_ports[5].enable = 0;
break;