
17 Dec
2012
17 Dec
'12
6:37 p.m.
Hi Tom,
On Wed, Nov 28, 2012 at 03:47:43PM +0100, Lukasz Majewski wrote:
Hi Pantelis,
USB initialization shouldn't happen for all the boards.
The board_usb_init() follows u-boot policy, that SoC IPs (USB) are enabled and configured just before their usage.
Going back to this old thread as I dig at things again. How much of s3c_udc_probe is actually enabling hardware as opposed to registering that such hardware exists and can be enabled when we call usb_gadget_register_driver ? It looks like all of the clocking (and pin muxing?) is already being done.
I will check if s3c_udc_probe can be removed totally and replaced by usb_gadget_register_driver (since some time has passed from original UDC driver posting).
--
Best regards,
Lukasz Majewski
Samsung Poland R&D Center | Linux Platform Group