Re: [PATCH] usb: xhci: make USB_XHCI_PLATFORM selectable

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

 



On 16 June 2015 at 21:56, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Jun 16, 2015 at 09:18:05PM +0200, Rafał Miłecki wrote:
>> Right now xhci-plat-hcd can be built when using one of platform specific
>> drivers only (mvebu/rcar). There shouldn't be such limitation as some
>> platforms may not require any quirks and may want to just use a generic
>> driver ("generic-xhci" / "xhci-hcd").
>
> Don't you still need some kind of xhci platform driver?  On its own,
> xhci-hcd doesn't provide what you need.

First, I can just "generic-xhci" if the controller doesn't need any
extra setup. See even the example in
Documentation/devicetree/bindings/usb/usb-xhci.txt, there is that:
compatible = "generic-xhci";
example entry for DT.

And about "xhci-hcd": if there appears (one day) some platform driver
(e.g. non-DT) registering "xhci-hcd" platform device, it'll most
likely handle initialization on its own, before calling the
platform_device_add.
--
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