summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants
diff options
context:
space:
mode:
authorPandya, Varshit B <varshit.b.pandya@intel.com>2020-04-17 12:12:34 +0530
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:13:57 +0000
commita02bf7468a5bb22f47be2aaf6186f2c835710fbc (patch)
tree0c736d1471183b0e6410b41c881c81eed055fc8e /src/mainboard/google/dedede/variants
parent3c3a760513ac1b324051ab943f89d982a3105816 (diff)
mb/google/dedede: Enable camera support for waddledoo
BUG=None BRANCH=None TEST=Build and Boot waddledoo board and able to capture image using world facing camera. Change-Id: I51dcf96a82535fc1e0b9247fd52af919885575e5 Signed-off-by: Pandya, Varshit B <varshit.b.pandya@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40476 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants')
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/gpio.c12
-rw-r--r--src/mainboard/google/dedede/variants/waddledoo/include/variant/acpi/camera.asl4
2 files changed, 10 insertions, 6 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/gpio.c b/src/mainboard/google/dedede/variants/baseboard/gpio.c
index a4ce97d8a5..b09d6c1abb 100644
--- a/src/mainboard/google/dedede/variants/baseboard/gpio.c
+++ b/src/mainboard/google/dedede/variants/baseboard/gpio.c
@@ -170,13 +170,13 @@ static const struct pad_config gpio_table[] = {
/* D11 : GPP_D11/GSPI2_MOSI/UART0A_CTSB */
PAD_NC(GPP_D11, NONE),
/* D12 : WCAM_RST_L */
- PAD_NC(GPP_D12, NONE),
+ PAD_CFG_GPO(GPP_D12, 0, PLTRST),
/* D13 : EN_PP2800_CAMERA */
- PAD_NC(GPP_D13, NONE),
+ PAD_CFG_GPO(GPP_D13, 0, PLTRST),
/* D14 : EN_PP1200_CAMERA */
- PAD_NC(GPP_D14, NONE),
+ PAD_CFG_GPO(GPP_D14, 0, PLTRST),
/* D15 : UCAM_RST_L */
- PAD_NC(GPP_D15, NONE),
+ PAD_CFG_GPO(GPP_D15, 0, PLTRST),
/* D16 : HP_INT_ODL */
PAD_CFG_GPI_INT(GPP_D16, NONE, PLTRST, EDGE_BOTH),
/* D17 : EN_SPK */
@@ -195,11 +195,11 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_D23, NONE),
/* E0 : CLK_24M_UCAM */
- PAD_NC(GPP_E0, NONE),
+ PAD_CFG_NF(GPP_E0, NONE, DEEP, NF2),
/* E1 : EMR_RESET_L */
PAD_NC(GPP_E1, NONE),
/* E2 : CLK_24M_WCAM */
- PAD_NC(GPP_E2, NONE),
+ PAD_CFG_NF(GPP_E2, NONE, DEEP, NF1),
/* E3 : GPP_E3/SATA_0_DEVSLP */
PAD_NC(GPP_E3, NONE),
/* E4 : IMGCLKOUT_2 */
diff --git a/src/mainboard/google/dedede/variants/waddledoo/include/variant/acpi/camera.asl b/src/mainboard/google/dedede/variants/waddledoo/include/variant/acpi/camera.asl
new file mode 100644
index 0000000000..304c0fe611
--- /dev/null
+++ b/src/mainboard/google/dedede/variants/waddledoo/include/variant/acpi/camera.asl
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
+
+#include <baseboard/acpi/camera.asl>