trogdor: Assert EN_PP3300_HUB
Some Trogdor variants power their USB hub from a PMIC LDO that is already enabled by QcLib, and some have a discrete LDO that is controlled by GPIO_84. For the latter, let's make sure we assert that GPIO on boot. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I9d206cd7154ded3bf179e68c2b1421d0a8ee89f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/44744 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: mturney mturney <mturney@codeaurora.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Philip Chen <philipchen@google.com>
This commit is contained in:
parent
75cf456674
commit
df33ef2355
|
@ -12,6 +12,9 @@ static struct usb_board_data usb0_board_data = {
|
|||
|
||||
static void setup_usb(void)
|
||||
{
|
||||
/* Assert EN_PP3300_HUB for those board variants that use it. */
|
||||
gpio_output(GPIO(84), 1);
|
||||
|
||||
setup_usb_host0(&usb0_board_data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue