summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-06-15 20:51:14 -0700
committerFurquan Shaikh <furquan@google.com>2018-06-21 04:38:58 +0000
commit1fdb76945a9d06bbff37dee9da69e13a86c933f4 (patch)
treeaf44bd1dc722ca4563c6cabb049f206d2f8c6c3a /src
parent126ce5c28ba5aee6dacf4716947b7755b3bc2b7f (diff)
mb/google/poppy/variants/atlas: enable camera power and release reset
This is a temporary hack to test camera presence before we have full camera support implemented. Basically, we can now probe the camera over i2c to verify that it's connected and the camera LED turns on. BUG=b:80106316 BRANCH=none TEST=camera LED comes on and camera can be probed over i2c. Change-Id: Ibaabf6c6f6a1dabaddd2fc47c820e090ca5984a5 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/27128 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/poppy/variants/atlas/gpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/gpio.c b/src/mainboard/google/poppy/variants/atlas/gpio.c
index 3a7b722648..b37426559d 100644
--- a/src/mainboard/google/poppy/variants/atlas/gpio.c
+++ b/src/mainboard/google/poppy/variants/atlas/gpio.c
@@ -177,7 +177,7 @@ static const struct pad_config gpio_table[] = {
/* D7 : ISH_I2C1_SDA ==> SPKR_IRQ_L */
PAD_CFG_GPI_APIC(GPP_D7, NONE, PLTRST),
/* D8 : ISH_I2C1_SCL ==> EN_CAMERA_PWR */
- PAD_CFG_GPO(GPP_D8, 0, DEEP),
+ PAD_CFG_GPO(GPP_D8, 1, DEEP),
/* D9 : ISH_SPI_CS# ==> ISH_SPI_CS_L */
PAD_CFG_NF_1V8(GPP_D9, NONE, DEEP, NF1),
/* D10 : ISH_SPI_CLK ==> ISH_SPI_CLK */
@@ -195,9 +195,9 @@ static const struct pad_config gpio_table[] = {
/* D16 : ISH_UART0_CTS# ==> NC */
PAD_CFG_NC(GPP_D16),
/* D17 : DMIC_CLK1 ==> PCH_CAMERA_RESET */
- PAD_CFG_GPO(GPP_D17, 0, DEEP),
+ PAD_CFG_GPO(GPP_D17, 1, DEEP),
/* D18 : DMIC_DATA1 ==> PCH_CAMERA_CLOCK_ENABLE */
- PAD_CFG_GPO(GPP_D18, 0, DEEP),
+ PAD_CFG_GPO(GPP_D18, 1, DEEP),
/* D19 : DMIC_CLK0 ==> PCH_DMIC_CLK_OUT */
PAD_CFG_NF(GPP_D19, NONE, DEEP, NF1),
/* D20 : DMIC_DATA0 ==> PCH_DMIC_DATA_IN */