diff options
author | Amanda Huang <amanda_hwang@compal.corp-partner.google.com> | 2018-06-06 14:57:25 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-07 16:37:20 +0000 |
commit | 07a803db77eb8cab5177650a2df50c7400f2f8d1 (patch) | |
tree | e7372580d51429101309be568dcd7311d887f8c6 /src/mainboard/google/poppy | |
parent | cd27b8d511ade334d4e271becc32a1dce380d155 (diff) |
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>
Diffstat (limited to 'src/mainboard/google/poppy')
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/include/variant/sku.h | 2 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/mainboard.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index 45a77f1d5b..3c82c2b7d1 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -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; 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 a2c9c490d8..15fbcee62c 100644 --- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h +++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h @@ -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__ */ diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index f8671ec175..1d5a0b2ec5 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -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; |