RE: [PATCH v3] chipidea: ci_hdrc_imx: Allow handling the clock for an external USB hub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




 
> 
> If on the board file I just do this:
> 
> +&usbh1 {
> +       vbus-supply = <&reg_usb_h1_vbus>;
> +       clocks = <&clks 201>;   /* USB2514 clock comes from mx6 clko2 pin
> */
> +       status = "okay";
> +};
> +
> 
> without touching any kernel code, then the USB hub clock is turned on
> and the USB host is functional.
> 
> Does this make sense?
> 

It is not a USB controller's clock, it is one USB device's clock which
uses SoC clock at one specific board. Currently, there is only one general
USB HUB driver, no any special board information in it. 

You can also put this special board control at arch/arm/mach-imx/mach-imx6q.c
if shawn also agree it.

Peter
 

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux