summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants
diff options
context:
space:
mode:
authorAmanda Huang <amanda_hwang@compal.corp-partner.google.com>2018-10-11 11:39:37 +0800
committerFurquan Shaikh <furquan@google.com>2018-10-15 21:11:32 +0000
commitf7b57d0b78e0ecb031e91f9603b4ceb8f3dcf3ec (patch)
treedb4dc3631828b6d418a5a9155114ff230cd9be16 /src/mainboard/google/poppy/variants
parentac4819de705cc4f3e3421ef9ffeef3b7f08dd9cf (diff)
downloadcoreboot-f7b57d0b78e0ecb031e91f9603b4ceb8f3dcf3ec.tar.xz
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>
Diffstat (limited to 'src/mainboard/google/poppy/variants')
-rw-r--r--src/mainboard/google/poppy/variants/nami/gpio.c4
-rw-r--r--src/mainboard/google/poppy/variants/nami/include/variant/sku.h4
-rw-r--r--src/mainboard/google/poppy/variants/nami/mainboard.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c
index 2d0fea4955..1a03c05f7d 100644
--- a/src/mainboard/google/poppy/variants/nami/gpio.c
+++ b/src/mainboard/google/poppy/variants/nami/gpio.c
@@ -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;
diff --git a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
index d75eb10d35..e27709a3f3 100644
--- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
+++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
@@ -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__ */
diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index 28fa327ab7..7362ba6340 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -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;