Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbbGWLWE (ORCPT ); Thu, 23 Jul 2015 07:22:04 -0400 Received: from mail-bl2on0136.outbound.protection.outlook.com ([65.55.169.136]:20038 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750917AbbGWLV4 convert rfc822-to-8bit (ORCPT ); Thu, 23 Jul 2015 07:21:56 -0400 X-Greylist: delayed 5744 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Jul 2015 07:21:55 EDT From: Badola Nikhil To: Mark Rutland CC: "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "balbi@ti.com" Subject: RE: [PATCH 1/3] Documentation: dt: dwc3: Add snps,configure-fladj property Thread-Topic: [PATCH 1/3] Documentation: dt: dwc3: Add snps,configure-fladj property Thread-Index: AQHQxSwX6I6RwEFjPk+QSaNMsW8cdJ3o0V+AgAAByoCAAA86gIAAAD+Q Date: Thu, 23 Jul 2015 11:07:09 +0000 Message-ID: References: <1437646161-1764-1-git-send-email-nikhil.badola@freescale.com> <20150723095635.GA12330@leverpostej> <20150723105729.GB12330@leverpostej> In-Reply-To: <20150723105729.GB12330@leverpostej> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1;SN1PR0301MB1632;5:gAkiVzs4LYvkj+YkZurfGU2FN4un/NZKAaazarQPigUjatYeOQp8QKRT0ghp66RQk+m1fNcjcFjmxnHHUxI8JNVwMh4R6YoHp+hSYtJRx4AlkXzQqlUPLKSXmFbRJkwDi1Z5wo+/dDpgKHI9i07ZaA==;24:QLaQLVHHaZaUomfca71ndSQoTv5MAeqMs3ZaXxLeSTRaeXuJIsMjkap3K8INhh7muD5hX5M8suPwO5+5xZNAPxSBAgZ1Swn3VffTS0YQSC8=;20:3Zb8jgc34gnvRO/KvNTqE4+2UfxgDEq0MmdovAU4HjB+Vay2nO6WVBez6RmBrqVqJIpjkyYuUzm26WremF6pMA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1632;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1616; sn1pr0301mb1632: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:SN1PR0301MB1632;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1632; x-forefront-prvs: 06469BCC91 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(164054003)(377454003)(24454002)(74316001)(19580395003)(189998001)(5003600100002)(102836002)(19580405001)(76576001)(50986999)(2950100001)(77156002)(54356999)(62966003)(76176999)(5001960100002)(46102003)(106116001)(77096005)(66066001)(86362001)(2900100001)(40100003)(122556002)(33656002)(99286002)(87936001)(110136002)(5002640100001)(2656002)(93886004)(92566002)(142933001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR0301MB1632;H:SN1PR0301MB1629.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2015 11:07:09.7113 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1632 X-Microsoft-Exchange-Diagnostics: 1;SN1PR0301MB1616;2:pYTY990Lfx8IBLrFAYcosgiQiIWDOvFhBUPHd1n3KXC650+FN3Nkoqdr5O87tkgr;3:DivUWixw9sYJB0MY54KD/VKue6PUbP6jnmeUoJ2KpEmV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S2cdR12J0sO9tELmByq37JVUVkRZSTOqZYAdAqQklPCFJYtEn9G9d+IWcnvXvYVIF8i+Dc5ua6GqG5WfvMiqGNzDeIvGtfGKcl+UE+UU2QFTqDNG8zi+QkIJA60EMb3thj2z+2e42m5J4IFYlfmpsY/vmgdHC2r6e64hMs6/bQh7+fBopHER8umxQQZbzSWgI5DvY/6Z+9NycsqZcI0oW SN1PR0301MB1616: X-MS-Exchange-Organization-RulesExecuted X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3225 Lines: 83 > -----Original Message----- > From: Mark Rutland [mailto:mark.rutland@arm.com] > Sent: Thursday, July 23, 2015 4:27 PM > To: Badola Nikhil-B46172 > Cc: linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; balbi@ti.com > Subject: Re: [PATCH 1/3] Documentation: dt: dwc3: Add snps,configure-fladj > property > > On Thu, Jul 23, 2015 at 11:52:19AM +0100, Badola Nikhil wrote: > > > -----Original Message----- > > > From: Mark Rutland [mailto:mark.rutland@arm.com] > > > Sent: Thursday, July 23, 2015 3:27 PM > > > To: Badola Nikhil-B46172 > > > Cc: linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; > > > balbi@ti.com > > > Subject: Re: [PATCH 1/3] Documentation: dt: dwc3: Add > > > snps,configure-fladj property > > > > > > On Thu, Jul 23, 2015 at 11:09:21AM +0100, Nikhil Badola wrote: > > > > Add property snps,configure-fladj for enabling post silicon frame > > > > length adjustment > > > > > > > > Signed-off-by: Nikhil Badola > > > > --- > > > > Documentation/devicetree/bindings/usb/dwc3.txt | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt > > > > b/Documentation/devicetree/bindings/usb/dwc3.txt > > > > index 0815eac..90c3972 100644 > > > > --- a/Documentation/devicetree/bindings/usb/dwc3.txt > > > > +++ b/Documentation/devicetree/bindings/usb/dwc3.txt > > > > @@ -40,6 +40,7 @@ Optional properties: > > > > - snps,hird-threshold: HIRD threshold > > > > - snps,hsphy_interface: High-Speed PHY interface selection > > > > between > > > "utmi" for > > > > UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE > > > > has > > > value 3. > > > > + - snps,configure-fladj: enables post-silicon frame length > > > > + adjustment > > > > > > Could you elaborate on what this means and why you think it's > necessary? > > > > This property enables the use of GFLADJ_30MHZ field value of gfladj > > register for frame length adjustment instead of considering from the > sideband input signal fladj_30mhz_reg from SOC. > > This is required when signal fladj_30mhz_reg is connected to a wrong > > value or is not valid as in our case, hence post-silicon. > > Ok, so this is basically an override for the GFLADJ_30MHZ field of the gfladj > register when there was a problem at integration time. > That's right. > > However this field can be used to adjust any offset ranging from 00h > > to 3Fh, from the clock source generating SOF(start of frame) packets. > > Thus, this property can be added to device tree with appropriate > adjustment value. > > It takes a value? The description above makes it sound like a boolean > property. > > I'd expect a description more like: > > - snps,fladj-override: Value for GFLADJ_30MHZ when the fladj_30mhz_reg > signal is invalid or incorrect. > > Which makes it clear what the value is and when it should be set. Agreed. Will change and send a new version of the patch-set. > > Thanks, > Mark. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/