Messages in this thread | | | Date | Mon, 17 Sep 2012 11:19:53 +0530 | Subject | Re: [RFC PATCH] drivers: phy: add generic PHY framework | From | "ABRAHAM, KISHON VIJAY" <> |
| |
Hi,
On Mon, Sep 17, 2012 at 6:50 AM, Chen Peter-B29397 <B29397@freescale.com> wrote: > >> >> The PHY framework provides a set of API's for the PHY drivers to >> create/remove a PHY and the PHY users to obtain a reference to the PHY >> using or without using phandle. If the PHY users has to obtain a >> reference to >> the PHY without using phandle, the platform specfic intialization code >> (say >> from board file) should have already called phy_bind with the binding >> information. The binding information consists of phy's device name, phy >> user device name and an index. The index is used when the same phy user >> binds to mulitple phys. >> > > What's an example of "the same phy user binds to multiple phys"?
Single controller using multiple phys.. > I only remembered that Felipe said there are two phy users for one single phy at > omap5 that is both usb3 and sata uses the same phy.
*index* is used when a single controller uses multiple phys. For example it could be used for dwc3 (usb3 controller) where it uses usb2 phy and usb3 phy.
Thanks Kishon
| |