mb/google/bluey: Enable USB support
BUG=b:440996061 TEST=Ensure that pipe/utmi clocks are ON and check port link status to confirm USB connect. Change-Id: If0997ecb43eb5f687f1416abe42764fa31b1eaf5 Signed-off-by: Hari L <haril@qualcomm.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89146 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
parent
96eb6a3ac1
commit
492826771e
1 changed files with 9 additions and 0 deletions
|
|
@ -10,6 +10,12 @@
|
|||
#include <soc/qupv3_config_common.h>
|
||||
#include <soc/qup_se_handlers_common.h>
|
||||
#include "board.h"
|
||||
#include <soc/usb/usb.h>
|
||||
|
||||
static void setup_usb(void)
|
||||
{
|
||||
setup_usb_host0();
|
||||
}
|
||||
|
||||
void lb_add_boot_mode(struct lb_header *header)
|
||||
{
|
||||
|
|
@ -76,6 +82,9 @@ static void mainboard_init(struct device *dev)
|
|||
if (CONFIG(MAINBOARD_HAS_FINGERPRINT))
|
||||
gpio_output(GPIO_FP_RST_L, 1);
|
||||
|
||||
/* Setup USB related initial config */
|
||||
setup_usb();
|
||||
|
||||
display_startup();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue