mb/google/bluey: Configure GPIOs for USB camera

Configure and enable the GPIOs required for the USB camera. GPIO 10
(RESET_L) and GPIO 206 (ENABLE) are set as outputs and driven high
during mainboard initialization to ensure the camera is powered on
and ready for use by the OS.

Schematics version: 0.2

BUG=b:453773922
TEST=Verify detection of USB camera using `lsusb` in the OS.

Change-Id: I1f7afcf730f37b1a2e36e3230ae9774508465691
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90616
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Kapil Porwal 2025-12-24 16:40:54 +05:30 committed by Matt DeVillier
commit d912ae91b0
2 changed files with 11 additions and 0 deletions

View file

@ -40,6 +40,10 @@
#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)
void setup_chromeos_gpios(void);
bool is_off_mode(void);
void configure_parallel_charging(void);

View file

@ -42,8 +42,15 @@ static bool is_low_power_boot(void)
return false;
}
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(void)
{
enable_usb_camera();
setup_usb_host0();
}