[RFC] i.MX27/31/35 USB support

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

 



Hi All,

I'd like to see USB host support upstream for i.MX SoCs. I have some
problems integrating this properly into the kernel, so I just attached
my current series asking you in which direction I should travel with
the patches.

The hardware is a OTG controller which has one OTG port and one host-only
port. The host ports are ehci compatible, device support is already
mainline in the fsl_usb2_udc driver.

The problems begin when it comes to the isp1504 ulpi transceiver. I have
two of them on my board which I have to configure for host mode. Currently
the Kernel seems to support only one single OTG transceiver. Adding a second
one would mean to add some infrastructure to assiociate a controller and a
transceiver.

Another problem is that the host and the device controller share the
same register space, currently both drivers do a request_mem_region and
thus can't be loaded simultaneously for otg support.

The last thing is that the access to the isp1504 seems to be quite
architecture specific. It is accessed through the ULPI_VIEW register
which is also in the same register space. I think I'll need an
abstraction from the isp1504 driver and the register accesses.

As all this means quite some work I'd like to hear your opinions before
working further on this.

Thanks,
  Sascha


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux