Re: Correct place for USB PHY driver

Kishon Vijay Abraham I
2016-01-11T10:28:22Z

hI,

On Monday 11 January 2016 03:37 PM, Mason wrote:
> Hello,
>
> I have a board with a Chipidea controller.
> I use a custom PHY driver for it.
>
> Should the PHY driver live in drivers/phy or in drivers/usb/phy ?

All new phy drivers should be in drivers/phy using the generic PHY framework.
>
> I was playing with a modular build and hit this problem:
> ERROR: "of_usb_get_phy_mode" [drivers/usb/chipidea/ci_hdrc.ko] undefined!
>
> I'm currently using v4.1.13 and I saw that Arnd fixed something related
> probably in a later version:
>
> http://thread.gmane.org/gmane.linux.ports.arm.kernel/457561
>
> Was this patch accepted upstream?

I think no.

Thanks
Kishon