Re: [PATCH] usb: phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar

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

 



On 30 March 2016 at 12:55, Felipe Balbi <balbi@xxxxxxxxxx> wrote:
> Rafał Miłecki <zajec5@xxxxxxxxx> writes:
>> [ text/plain ]
>> On 30 March 2016 at 12:13, Felipe Balbi <balbi@xxxxxxxxxx> wrote:
>>> Rafał Miłecki <zajec5@xxxxxxxxx> writes:
>>>> Northstar is a family of SoCs used in home routers. They have USB 2.0
>>>> and 3.0 controllers with PHYs that need to be properly initialized.
>>>> This driver provides PHY init support in a generic way and can be bound
>>>> with XHCI controller driver.
>>>>
>>>> Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx>
>>>> ---
>>>>  .../devicetree/bindings/usb/ns-usb3-phy.txt        |  14 ++
>>>>  drivers/usb/phy/Kconfig                            |   8 +
>>>>  drivers/usb/phy/Makefile                           |   1 +
>>>>  drivers/usb/phy/phy-bcm-ns-usb3.c                  | 256 +++++++++++++++++++++
>>>
>>> new drivers should be using drivers/phy/ framework instead. Sorry.
>>
>> How can I use generic PHY driver (/drivers/phy/) with xhci-platform
>> (drivers/usb/host/xhci-plat.c)? I didn't think it's possible.
>
> well, you can always patch xhci-plat.c, right ? ;-)

It seems I was wrong. Since "xhci-platform" uses usb_add_hcd, it can
be easily used with a generic PHY driver. I didn't notice there is
also support for (generic) PHY in a hcd itself.

-- 
Rafał
--
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