Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-17 Thread Felipe Balbi
Hi, On Thu, Sep 12, 2013 at 04:17:08PM +0530, Vivek Gautam wrote: > On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: > > Hi Kishon, > > > > On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: > >> There can be systems which does not have a external usb_phy, so get > >> usb_phy only if

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-17 Thread Felipe Balbi
Hi, On Thu, Sep 12, 2013 at 04:17:08PM +0530, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-16 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 6:41 PM, Roger Quadros wrote: > On 09/12/2013 02:26 PM, Vivek Gautam wrote: >> Hi, >> >> >> On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros wrote: >>> Hi, >>> >>> On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote:

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-16 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 6:41 PM, Roger Quadros rog...@ti.com wrote: On 09/12/2013 02:26 PM, Vivek Gautam wrote: Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
On 09/12/2013 02:26 PM, Vivek Gautam wrote: > Hi, > > > On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros wrote: >> Hi, >> >> On 09/12/2013 01:47 PM, Vivek Gautam wrote: >>> On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros wrote: > Hi, > > On 09/12/2013 01:47 PM, Vivek Gautam wrote: >> On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: >>> Hi Kishon, >>> >>> On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: > On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: >> Hi Kishon, >> >> On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: >>> There can be systems which does not have a external usb_phy, so get >>> usb_phy only if usb-phy property is added

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: > Hi Kishon, > > On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: >> There can be systems which does not have a external usb_phy, so get >> usb_phy only if usb-phy property is added in the case of dt boot or if >> platform_data indicates

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: > There can be systems which does not have a external usb_phy, so get > usb_phy only if usb-phy property is added in the case of dt boot or if > platform_data indicates the presence of PHY. Also remove checking if > return value is

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking if return value is

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
On 09/12/2013 02:26 PM, Vivek Gautam wrote: Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay

[PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-02 Thread Kishon Vijay Abraham I
There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking if return value is -ENXIO since it's now changed to always enable usb_phy layer.

[PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-02 Thread Kishon Vijay Abraham I
There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking if return value is -ENXIO since it's now changed to always enable usb_phy layer.