From bbbc655b152b6900b8a9c308d32bdfcdb710a0d2 Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Tue, 10 Mar 2026 21:19:37 +0530 Subject: [PATCH] Revert "mb/google/bluey: Configure GPIOs for USB camera" This reverts commit d912ae91b0a8174a93d7701ae1c620df6fd45029. Reason for revert: These GPIOs will be managed by the OS. BUG=b:481123667 Change-Id: Ieab7a9eba09c6a1128fe4709603f3b9d64e72e93 Signed-off-by: Kapil Porwal Reviewed-on: https://review.coreboot.org/c/coreboot/+/91639 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/bluey/board.h | 4 ---- src/mainboard/google/bluey/mainboard.c | 8 -------- 2 files changed, 12 deletions(-) diff --git a/src/mainboard/google/bluey/board.h b/src/mainboard/google/bluey/board.h index 361aa6587c..65436b60d7 100644 --- a/src/mainboard/google/bluey/board.h +++ b/src/mainboard/google/bluey/board.h @@ -47,10 +47,6 @@ #define GPIO_SD_CD_L GPIO(71) #endif -/* USB Camera specific GPIOs */ -#define GPIO_USB_CAM_RESET_L GPIO(10) -#define GPIO_USB_CAM_ENABLE GPIO(206) - /* USB-C1 port specific GPIOs */ #define GPIO_USB_C1_EN_PP3300 GPIO(186) #define GPIO_USB_C1_EN_PP1800 GPIO(175) diff --git a/src/mainboard/google/bluey/mainboard.c b/src/mainboard/google/bluey/mainboard.c index 12e180af54..b9c055e6d5 100644 --- a/src/mainboard/google/bluey/mainboard.c +++ b/src/mainboard/google/bluey/mainboard.c @@ -76,12 +76,6 @@ static bool is_low_power_boot_with_charger(void) return ret; } -static void enable_usb_camera(void) -{ - gpio_output(GPIO_USB_CAM_RESET_L, 1); - gpio_output(GPIO_USB_CAM_ENABLE, 1); -} - static void setup_usb_typec(void) { gpio_output(GPIO_USB_C1_EN_PP3300, 1); @@ -115,8 +109,6 @@ static void setup_audio(void) static void setup_usb(void) { setup_usb_typec(); - - enable_usb_camera(); } static void setup_usb_late(void *unused)