Amanda Hwang has uploaded this change for review. ( https://review.coreboot.org/26875
Change subject: mb/google/poppy/variants/nami: Disable rear camera/DMIC for Pantheon ......................................................................
mb/google/poppy/variants/nami: Disable rear camera/DMIC for Pantheon
Since there are two cameras on Nami and only one camera on Pantheon. We need to disable rear camera/DMIC on all Pantheon sku.
BUG=b:109720689 BRANCH=master TEST=Verify if only front camera/DMIC shown on Pantheon
Change-Id: Ibe48a945dc57f2c05344479253040ad1945d92fd Signed-off-by: Amanda Huang amanda_hwang@compal.corp-partner.google.com --- M src/mainboard/google/poppy/variants/nami/gpio.c M src/mainboard/google/poppy/variants/nami/include/variant/sku.h M src/mainboard/google/poppy/variants/nami/mainboard.c 3 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/26875/1
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index 0e6b1b7..1e99dab 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -404,6 +404,9 @@ case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: + case SKU_0_PANTHEON: + case SKU_1_PANTHEON: + case SKU_2_PANTHEON: *num = ARRAY_SIZE(vayne_sku_gpio_table); board_gpio_tables = vayne_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 9dfffe1..a2c9c49 100644 --- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h +++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h @@ -23,5 +23,6 @@ #define SKU_2_VAYNE 0x3A7F #define SKU_0_PANTHEON 0x3F63 #define SKU_1_PANTHEON 0x3F67 +#define SKU_2_PANTHEON 0x3F62
#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 9577623..f8671ec 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -68,6 +68,9 @@ case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: + case SKU_0_PANTHEON: + case SKU_1_PANTHEON: + case SKU_2_PANTHEON: /* Disable unused port USB port */ cfg->usb2_ports[5].enable = 0; break;