Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-13 Thread Peter Chen
On Mon, Jun 13, 2016 at 04:40:55PM -0400, Jaret Cantu wrote: > > > >According to your previous information, the single formula can't be used > >to get D_CAL value, do you have any good ways except for using a table? > > That is not exactly what I said: > > "I can't find any formula which would hi

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-13 Thread Jaret Cantu
On 06/11/2016 11:25 PM, Peter Chen wrote: On Thu, Jun 09, 2016 at 02:07:52PM -0400, Justin Waters wrote: Peter, On Wed, Jun 8, 2016 at 10:41 PM, Peter Chen wrote: On Thu, Jun 9, 2016 at 5:27 AM, Jaret Cantu wrote: On 03/23/2016 10:21 PM, Peter Chen wrote: On Wed, Mar 23, 2016 at 02:17:27P

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-11 Thread Peter Chen
On Thu, Jun 09, 2016 at 02:07:52PM -0400, Justin Waters wrote: > Peter, > > On Wed, Jun 8, 2016 at 10:41 PM, Peter Chen wrote: > > On Thu, Jun 9, 2016 at 5:27 AM, Jaret Cantu wrote: > >> On 03/23/2016 10:21 PM, Peter Chen wrote: > >>> > >>> On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu w

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-09 Thread Justin Waters
Peter, On Wed, Jun 8, 2016 at 10:41 PM, Peter Chen wrote: > On Thu, Jun 9, 2016 at 5:27 AM, Jaret Cantu wrote: >> On 03/23/2016 10:21 PM, Peter Chen wrote: >>> >>> On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: On 03/23/2016 01:37 PM, Jaret Cantu wrote: > > On 03/

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-08 Thread Peter Chen
On Thu, Jun 9, 2016 at 5:27 AM, Jaret Cantu wrote: > On 03/23/2016 10:21 PM, Peter Chen wrote: >> >> On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: >>> >>> On 03/23/2016 01:37 PM, Jaret Cantu wrote: On 03/23/2016 12:36 AM, Peter Chen wrote: > > On Mon, Mar 21, 2016

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-06-08 Thread Jaret Cantu
On 03/23/2016 10:21 PM, Peter Chen wrote: On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: On 03/23/2016 01:37 PM, Jaret Cantu wrote: On 03/23/2016 12:36 AM, Peter Chen wrote: On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: The TX settings can be calibrated for partic

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-30 Thread Peter Chen
On Wed, Mar 30, 2016 at 01:29:34PM +0300, Felipe Balbi wrote: > > Hi, > > Peter Chen writes: > > [ text/plain ] > > On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: > >> On 03/23/2016 01:37 PM, Jaret Cantu wrote: > >> >On 03/23/2016 12:36 AM, Peter Chen wrote: > >> >>On Mon, Mar 21,

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-30 Thread Felipe Balbi
Hi, Peter Chen writes: > [ text/plain ] > On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: >> On 03/23/2016 01:37 PM, Jaret Cantu wrote: >> >On 03/23/2016 12:36 AM, Peter Chen wrote: >> >>On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: >> >>>The TX settings can be calibr

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-23 Thread Peter Chen
On Wed, Mar 23, 2016 at 02:17:27PM -0400, Jaret Cantu wrote: > On 03/23/2016 01:37 PM, Jaret Cantu wrote: > >On 03/23/2016 12:36 AM, Peter Chen wrote: > >>On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: > >>>The TX settings can be calibrated for particular hardware. The > >>>phy is re

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-23 Thread Jaret Cantu
On 03/23/2016 01:37 PM, Jaret Cantu wrote: On 03/23/2016 12:36 AM, Peter Chen wrote: On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: The TX settings can be calibrated for particular hardware. The phy is reset by Linux, so this cannot be handled by the bootloader. The TRM mentions

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-23 Thread Jaret Cantu
On 03/23/2016 12:36 AM, Peter Chen wrote: On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: The TX settings can be calibrated for particular hardware. The phy is reset by Linux, so this cannot be handled by the bootloader. The TRM mentions that the maximum resistance should be used

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-23 Thread Rob Herring
On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: > The TX settings can be calibrated for particular hardware. The > phy is reset by Linux, so this cannot be handled by the bootloader. > > The TRM mentions that the maximum resistance should be used for the > DN/DP calibration in order

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-22 Thread Peter Chen
On Mon, Mar 21, 2016 at 12:32:27PM -0400, Jaret Cantu wrote: > The TX settings can be calibrated for particular hardware. The > phy is reset by Linux, so this cannot be handled by the bootloader. > > The TRM mentions that the maximum resistance should be used for the > DN/DP calibration in order

Re: [PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-22 Thread Peter Chen
On Tue, Mar 22, 2016 at 12:32 AM, Jaret Cantu wrote: > The TX settings can be calibrated for particular hardware. The > phy is reset by Linux, so this cannot be handled by the bootloader. > > The TRM mentions that the maximum resistance should be used for the > DN/DP calibration in order to pass

[PATCH v3] usb: phy: mxs: Add DT bindings to configure TX settings

2016-03-21 Thread Jaret Cantu
The TX settings can be calibrated for particular hardware. The phy is reset by Linux, so this cannot be handled by the bootloader. The TRM mentions that the maximum resistance should be used for the DN/DP calibration in order to pass USB certification. The values for the TX registers are poorly