AnsweredAssumed Answered

i.MX6Q How to enable using USB_H1_PWR (ALT6)

Question asked by C Brust on Jan 26, 2016
Latest reply on Feb 16, 2016 by C Brust

I'm having difficulty understanding how to enable power using the USB_H1_PWR in ALT6.

 

Here's the u-boot setup for our custom board.

------------------------------------------------------

iomux_v3_cfg_t const usb_hc1_pads[] = {

    MX6_PAD_EIM_D31__USB_H1_PWR  |  MUX_PAD_CTRL(NO_PAD_CTRL),

    MX6_PAD_EIM_D30__USB_H1_OC     |  MUX_PAD_CTRL(NO_PAD_CTRL),

};

 

imx_iomux_v3_setup_multiple_pads(usb_hc1_pads,ARRAY_SIZE(usb_hc1_pads));

------------------------------------------------------

 

u-boot has the following line to enable power using gpio for standard configuration....

---> gpio_direction_output(IMX_GPIO_NR(1, 29), 1);

 

Question is; how do I enable the USB power for ALT6 mode?

Outcomes