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

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

BUG=b:109710674
BRANCH=master
TEST=Verify if only front camera/DMIC shown on Sona

Change-Id: Id84ee22c9ffc15db78be3bbad148af5cd7dc866e
Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/26876
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Amanda Huang 2018-06-06 14:57:25 +08:00 committed by Martin Roth
parent cd27b8d511
commit 07a803db77
3 changed files with 6 additions and 0 deletions

View File

@ -407,6 +407,8 @@ const struct pad_config *variant_sku_gpio_table(size_t *num)
case SKU_0_PANTHEON:
case SKU_1_PANTHEON:
case SKU_2_PANTHEON:
case SKU_0_SONA:
case SKU_1_SONA:
*num = ARRAY_SIZE(no_dmic1_sku_gpio_table);
board_gpio_tables = no_dmic1_sku_gpio_table;
break;

View File

@ -24,5 +24,7 @@
#define SKU_0_PANTHEON 0x3F63
#define SKU_1_PANTHEON 0x3F67
#define SKU_2_PANTHEON 0x3F62
#define SKU_0_SONA 0x3AE2
#define SKU_1_SONA 0x3AE3
#endif /* __MAINBOARD_SKU_H__ */

View File

@ -71,6 +71,8 @@ void variant_devtree_update(void)
case SKU_0_PANTHEON:
case SKU_1_PANTHEON:
case SKU_2_PANTHEON:
case SKU_0_SONA:
case SKU_1_SONA:
/* Disable unused port USB port */
cfg->usb2_ports[5].enable = 0;
break;