Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp149298ybg; Tue, 9 Jun 2020 19:13:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysOCyaPYsQ5PV93d0fNY5KA9XHnppSrCn88L4/TE0dHTdSuagKy4LAqIiKMb3DGi2tk07w X-Received: by 2002:a17:906:57d3:: with SMTP id u19mr1214853ejr.401.1591755239096; Tue, 09 Jun 2020 19:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591755239; cv=none; d=google.com; s=arc-20160816; b=dVDQOfdLbcfE7gKhwRQcWVtc1JlvGCGqCFGW1eC2xujKyk3m7/Gx+reqC1L5hhIe3A iNjYnvrhKnytclk2OELfRs9qGyBa12XjxSm6hcAHEjE8Ih42St9iKqd7lbw0Sl9Znn4K lHni/YhIc6NlObjqhsx+vtoe8Uh/bZbyp+JpLj4qioQkfayrlQwQymCndwCw5l38ThZq 1VIA+Pj64bSgPiSb6NTTP3XHXrh8YYRrRzVeZfO9ULLHCOLN8TR+lywvzYN0igpG/siN Va06WxlcF5ktHBlECd3AIANGU9ug3J5BihYNuYy/SYIXyxna4MYSlhK+ctgNPm5IQOsc Fouw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:ironport-sdr :ironport-sdr; bh=6YvzH90dNQDVwnWOB/X/XKzPfs7jx2ZYnePlzppNowo=; b=mNjxSbmQiMNNCpM4So7Ptqnhr2i3tKIerJTwOakW4xM4ShzXj5Rb7uLb/b1WLZfkwb ED3IOxMe72HibUEuTFGEfoEnHV+6yWu/2ndZRB1IvQnnMXP8PHdFpL6WQYgM138hUqaa yg52VRbu2iIAFAt2I4/gjXEqCCvYEPfzO1i9m6FmwCdYlkTFrLUF66ZkG8UhEMR5F6q7 RyRLa3U/3fJkjb3NZFadKxkZOaziujKzS1cLyVdt20dh9jNP/DLZ879MWV7JD7NYJU+5 MdDPNaQJoU+isKPO5d1pDlGooFmQh2qsi53j+jh7ja46UJnx0vaQxGowuCIuXw6zhN3H mj4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oy12si11521752ejb.654.2020.06.09.19.13.36; Tue, 09 Jun 2020 19:13:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726040AbgFJCLu (ORCPT + 99 others); Tue, 9 Jun 2020 22:11:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:22668 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbgFJCLt (ORCPT ); Tue, 9 Jun 2020 22:11:49 -0400 IronPort-SDR: nM5y7RZK5bSpD8d1TnmNuDiPmasDiGudR0eqGDsHzt49DnL/JLK0NKiRiodpk3vcBAJgztEtHb zzl8MTfp8URg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2020 19:11:48 -0700 IronPort-SDR: kN1rgZC1ZwioEDqx8NmY1hE7Oa0mb2fQ/dbSTaRX0EQcKxo1ZH94O0RBWNh9pEYYSSnLgTHqiD lzX6Cd9LeO8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,494,1583222400"; d="scan'208";a="259152355" Received: from linux.intel.com ([10.54.29.200]) by fmsmga007.fm.intel.com with ESMTP; 09 Jun 2020 19:11:48 -0700 Received: from [10.255.176.176] (vramuthx-MOBL1.gar.corp.intel.com [10.255.176.176]) by linux.intel.com (Postfix) with ESMTP id 2BEAA580698; Tue, 9 Jun 2020 19:11:43 -0700 (PDT) Reply-To: vadivel.muruganx.ramuthevar@linux.intel.com Subject: Re: [PATCH v1 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC To: Philipp Zabel , linux-kernel@vger.kernel.org, balbi@kernel.org Cc: gregkh@linuxfoundation.org, robh@kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, andriy.shevchenko@intel.com References: <20200609110850.43469-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200609110850.43469-3-vadivel.muruganx.ramuthevar@linux.intel.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: <1ed87ef0-170d-4543-5d90-8c8b223c704c@linux.intel.com> Date: Wed, 10 Jun 2020 10:11:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Philipp, Thanks for the review comments... On 9/6/2020 8:14 pm, Philipp Zabel wrote: >> + >> + for (i = 0; i < ARRAY_SIZE(CTL_RESETS); i++) >> + reset_control_deassert(resets[i]); >> + /* Need to wait at least 20us before de-assert the PHY */ >> + usleep_range(20, 100); > This waits 20us after de-asserting the reset, not before. Is this in the > correct place? This is correct place , but the above mentioned comments are wrong, need to re-write the comments as below... /* out-of-band reset of the controller after PHY reset * will cause controller malfunctioning, so should use in-bandcontroller * reset only and leave the controller de-asserted here. */ for (i = 0; i < ARRAY_SIZE(CTL_RESETS); i++) reset_control_deassert(resets[i]); /* Need to wait at least 20us after de-assert the PHY */ usleep_range(20, 100); Regards Vadivel >