Received: by 10.213.65.68 with SMTP id h4csp561529imn; Tue, 20 Mar 2018 09:39:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELs2kOi72vgaH2vlFVgGfyroPQuvrCsN0KfwZe6MAuVuBtQ5UWa9+wJeMiF72/TdZRndkKMX X-Received: by 10.98.139.143 with SMTP id e15mr7669160pfl.134.1521563943458; Tue, 20 Mar 2018 09:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521563943; cv=none; d=google.com; s=arc-20160816; b=udIyeNoZy6t7h9jitrWZ059l5PYb72J2pNojakb2bOSuHY4OzhBQyKvJNOfp5/QFFe KRkta4wslebXNW46iu8RwOHQQwqZqFYxwqV1Y5y688LFw2Qbrvdeei85aGYr5nVpSpUw 8NPZHlk6su/PsWJXY/JUcIZ7vUCMu4p3riK6Og4cXAn45kweh8MZgCBxQQJYfEyDjr4B q95R98iIdjonwVH5M45eY9vaz6rLZQUWJLlPGJQ7WK1wWid27RxwXoakgRNDgcVoX4cg XZbocw/p+VpSTMN0bBXHWda3HhN6pZ4txrWi33ABs41/T7m8Rwjl6LIi/RjPnfAvqH+m rZzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=nWIgXfT2asHtyUzaxnWwDmDv7sByoEQLx8qTX1NBwZs=; b=VNEHl6YIuOIDHwjXBoZcCz7qzpPSKhbDhI+7C9ekF39ZeZ9RDhUS3E7ir196EC7Lgb UAQq079Z8zma2jpdbk2c4bJ7bzlxVuxEIuvqOKobAw4PZ2CztVaXuoB1nr8Wlog4eqVd 2sC84jO21F0/DK66UT8XxmG4LdP1c7Ye8MJ0xZ5UBfodTP2cat9Sx7LlNMg9ka1jw8nH gIOYh+CxxN/CYa/3mzP3w92G0jPhPU/5HdvLMT1MFa0Vts5wTL0ncjws22sDRMdaKnSR U5XSC6j5insiloiLP/T2D1wxIlezRITqmlooZXxub6XpV0RmAU09uLWkdh+QIo+qUbGE lGSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iJqlR7fM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u66si1529833pfu.375.2018.03.20.09.38.49; Tue, 20 Mar 2018 09:39:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iJqlR7fM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751674AbeCTQhb (ORCPT + 99 others); Tue, 20 Mar 2018 12:37:31 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:43927 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751186AbeCTQh3 (ORCPT ); Tue, 20 Mar 2018 12:37:29 -0400 Received: by mail-oi0-f42.google.com with SMTP id y27-v6so1870432oix.10 for ; Tue, 20 Mar 2018 09:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nWIgXfT2asHtyUzaxnWwDmDv7sByoEQLx8qTX1NBwZs=; b=iJqlR7fMG8COWwULcEP7an+3rMUNmMJO2jlET4/vR9+eidjT2pA9gCSwq7kB9pdnsg x7DuMOXrrl29D4PPb2yXKntK3s1nR3NDsNZV0dbKd4T06R7NXT96XTmqzMTxRCe7K3hn th+bvzD6NXJTTmE1e2YqSfn4JLUegjN1UEXfc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nWIgXfT2asHtyUzaxnWwDmDv7sByoEQLx8qTX1NBwZs=; b=hOmzWJcGOIV9KgVLoQuPSQ73ZtYx2sH0F8HfnFYuOr3ljXe5oCW3kkCrzBDdUgWUVn Rh4PfTvpWs+tvy3wEwX7xsyESke2vlG1CFi8L4b3fmJD1mDX5HoPh+hsDXDiS1L8Ts5a TsVPwmVNoutuIIwbwtOsyZFWsbvT70R5fFS9uDcyjbKWI99SSp1dQ2bN4624WBOTunhc UOSxJakvA9ey5vHTyImlXCUBaYrMS6fDZw/xpt5jULSq3T19vNGJyZc3K1z8En98yKe3 k7cMDKKLLfP+qxo1XpPzXy4ql/dPMy/DyHh8kzwjCCAiqM0n+8AKnWejt18re/bNk/GX LwKg== X-Gm-Message-State: AElRT7G5TegfBty8pbK8RuYOIWj23Iw9yzDpS/RYjxi9oQl1QyvpSFjY VSF/BtFZrmyvOeFZCORF4HGUUSlctN8= X-Received: by 10.202.25.6 with SMTP id l6mr6134742oii.275.1521563848413; Tue, 20 Mar 2018 09:37:28 -0700 (PDT) Received: from mail-ot0-f169.google.com (mail-ot0-f169.google.com. [74.125.82.169]) by smtp.gmail.com with ESMTPSA id p185sm1077722oih.14.2018.03.20.09.37.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 09:37:27 -0700 (PDT) Received: by mail-ot0-f169.google.com with SMTP id q5-v6so2406164oth.12 for ; Tue, 20 Mar 2018 09:37:27 -0700 (PDT) X-Received: by 2002:a9d:578c:: with SMTP id q12-v6mr211102oth.53.1521563846693; Tue, 20 Mar 2018 09:37:26 -0700 (PDT) MIME-Version: 1.0 References: <1521193500-4696-1-git-send-email-mgautam@codeaurora.org> <1521193500-4696-5-git-send-email-mgautam@codeaurora.org> <5db561b9-0c39-14d3-f924-9e5db75f6600@codeaurora.org> In-Reply-To: <5db561b9-0c39-14d3-f924-9e5db75f6600@codeaurora.org> From: Evan Green Date: Tue, 20 Mar 2018 16:36:51 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/6] phy: qcom-qmp: Add QMP V3 USB3 UNI PHY support for sdm845 To: Manu Gautam Cc: kishon@ti.com, linux-arm-msm@vger.kernel.org, vivek.gautam@codeaurora.org, varada@codeaurora.org, weiyongjun1@huawei.com, fengguang.wu@intel.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 20, 2018 at 12:00 AM Manu Gautam wrote: > Hi, > On 3/19/2018 11:21 PM, Evan Green wrote: > > Hi Manu, > > > > On Fri, Mar 16, 2018 at 2:46 AM Manu Gautam wrote: > [snip] > >> index d1c6905..5d78d43 100644 > >> --- a/drivers/phy/qualcomm/phy-qcom-qmp.h > >> +++ b/drivers/phy/qualcomm/phy-qcom-qmp.h > >> @@ -214,6 +214,8 @@ > >> #define QSERDES_V3_RX_UCDR_FASTLOCK_FO_GAIN 0x030 > >> #define QSERDES_V3_RX_UCDR_SO_SATURATION_AND_ENABLE 0x034 > >> #define QSERDES_V3_RX_RX_TERM_BW 0x07c > >> +#define QSERDES_V3_RX_VGA_CAL_CNTRL1 0x0bc > > I noticed you add this definition, but never use it. Are you missing a > > QMP_PHY_INIT_CFG line for this register in qmp_v3_usb3_uniphy_rx_tbl[], or > > is that register "don't care"? It looks important, and while its default > > value out of reset might be valid, you never know what nutty value boot > > firmware might set it to. > > > Yes POR value of this register is valid for this soc. > QMP driver resets (asserts and de-asserts reset_control) in probe. So, that should > ensure that PHY registers are indeed set to POR value. Left the definition there > if different setting needed to be done for a different variant of h/w in future. Sounds good. Thanks, Manu. Reviewed-by: Evan Green