From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932266AbcBJCIv (ORCPT ); Tue, 9 Feb 2016 21:08:51 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:33372 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756129AbcBJCIt (ORCPT ); Tue, 9 Feb 2016 21:08:49 -0500 From: John Youn To: Doug Anderson , Kever Yang CC: John Youn , Felipe Balbi , =?gb2312?B?zuLBvLfl?= , Tao Huang , =?gb2312?B?SGVpa28gU3SouWJuZXI=?= , Stefan Wahren , "open list:ARM/Rockchip SoC..." , "linux-rpi-kernel@lists.infradead.org" , Julius Werner , "Herrero, Gregory" , "Kaukab, Yousaf" , Dinh Nguyen , "Alan Stern" , Ming Lei , "Greg Kroah-Hartman" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v6 10/22] usb: dwc2: host: Properly set the HFIR Thread-Topic: [PATCH v6 10/22] usb: dwc2: host: Properly set the HFIR Thread-Index: AQHRWjwshZY93g5n8kytPr0iESLC5A== Date: Wed, 10 Feb 2016 02:08:45 +0000 Message-ID: <2B3535C5ECE8B5419E3ECBE30077290901DC43EE3C@US01WEMBX2.internal.synopsys.com> References: <1454034013-24657-1-git-send-email-dianders@chromium.org> <1454034013-24657-11-git-send-email-dianders@chromium.org> <56ADD2AF.3040901@rock-chips.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.161.114] Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u1A291KU008618 On 1/31/2016 2:19 PM, Doug Anderson wrote: > Kever, > > On Sun, Jan 31, 2016 at 1:23 AM, Kever Yang wrote: >> Doug, >> >> On 01/29/2016 10:20 AM, Douglas Anderson wrote: >>> >>> According to the most up to date version of the dwc2 databook, the FRINT >>> field of the HFIR register should be programmed to: >>> * 125 us * (PHY clock freq for HS) - 1 >>> * 1000 us * (PHY clock freq for FS/LS) - 1 >> >> I got 3 version of dwc_otg databook, 2.74a, 2.94a and 3.10a, >> all the doc describe the FrInt as: > > Can you check to see if you can get 3.30a (October 2015)? > > >> * 125 us * (PHY clock freq for HS) >> * 1000 us * (PHY clock freq for FS/LS) >> >> Maybe John can help to check the design. > > Yes, this really needs John or someone at Synopsys. > > The "- 1" is the correct value. The databook was corrected in 3.30a and this applies to all previous versions of the core. John