Re: [PATCH v3] usb: of: add an api to get dr_mode by the phy node

2015-09-21 Thread Bin Liu
Hi, On 09/18/2015 03:27 PM, Bin Liu wrote: Some USB phy drivers have different handling for the controller in each dr_mode. But the phy driver does not have visibility to the dr_mode of the controller. This adds an api to return the dr_mode of the controller which associates the given phy

Re: [PATCH v3] usb: of: add an api to get dr_mode by the phy node

2015-09-19 Thread Hans de Goede
Hi, On 09/18/2015 10:41 PM, Felipe Balbi wrote: Hi, On Fri, Sep 18, 2015 at 03:27:58PM -0500, Bin Liu wrote: Some USB phy drivers have different handling for the controller in each dr_mode. But the phy driver does not have visibility to the dr_mode of the controller. This adds an api to

Re: [PATCH v3] usb: of: add an api to get dr_mode by the phy node

2015-09-19 Thread Hans de Goede
Hi, On 09/18/2015 04:27 PM, Bin Liu wrote: Some USB phy drivers have different handling for the controller in each dr_mode. But the phy driver does not have visibility to the dr_mode of the controller. This adds an api to return the dr_mode of the controller which associates the given phy

[PATCH v3] usb: of: add an api to get dr_mode by the phy node

2015-09-18 Thread Bin Liu
Some USB phy drivers have different handling for the controller in each dr_mode. But the phy driver does not have visibility to the dr_mode of the controller. This adds an api to return the dr_mode of the controller which associates the given phy node. Signed-off-by: Bin Liu ---

Re: [PATCH v3] usb: of: add an api to get dr_mode by the phy node

2015-09-18 Thread Felipe Balbi
Hi, On Fri, Sep 18, 2015 at 03:27:58PM -0500, Bin Liu wrote: > Some USB phy drivers have different handling for the controller in each > dr_mode. But the phy driver does not have visibility to the dr_mode of > the controller. > > This adds an api to return the dr_mode of the controller which >