Re: Support for Pravega USB3 controller

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

 



Hi,

Mason <slash.tmp@xxxxxxx> writes:
> Hello everyone,
>
> I'm working on a SoC which embeds an IP block from GDA Technologies
> labeled "Pravega USB3 SuperSpeed Controller" (data-sheet is v0.99r
> dated 2014-01-29). A cursory search returns:
>
> http://www.sourcing.co.jp/prod_ip.htm
> http://www.sourcing.co.jp/prod_ip/usb_host_pb.pdf
>
> In the compliance section, the data-sheet lists:
>
> - USB 3.0 Revision 1.0 and all associated ECNs
> - Inter-Chip Supplement to the USB Revision 3.0 Specification, Revision 1.02
> - Backward compatible with USB2.0 Revision 2.0 and all associated ECNs
> - High Speed Inter Chip Specification, Rev 1.0 and associated ECNs
> - USB 2.0 Link Power Management Addendum and associated Erratas
> - xHCI specification version 1.0 (in host mode)
>
> My question is: should I be able to use the generic XHCI driver to
> drive this controller?

yes, you should. BUT... is this controller dual-role? If it is, then
it'd be nice to support both roles.

> I'd select USB_XHCI_HCD and USB_XHCI_PLATFORM, create the appropriate
> device tree node, and everything would auto-magically work?

yeah, something along these lines :)

> (The Makefile builds xhci-plat-hcd.o but I don't see xhci-plat-hcd.c
> Is it a generated file?)

The makefile is smart enough to figure it out. Don't worry. Kernel's
build system knows that it needs xhci-plat-hcd.c in order to build
xhci-plat-hcd.o

> I'm confused though: if XHCI is standard, why are there different XHCI
> drivers for Mediatek, Marvell, Renesas, Tegra? Do they add additional
> features *on top of* the XHCI baseline?

Silicon integration differencies mostly (clock, power supplies, etc).

> One more thing: AFAIU, the USB PHY is made by Synopsys.
> Do I need a driver for that too? (I should examine 7b8ef22ea547)

IIRC there are no registers to be configured on Synopsys PHY, so no.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux