Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2065274ybl; Thu, 19 Dec 2019 07:31:35 -0800 (PST) X-Google-Smtp-Source: APXvYqwttBhslajwMXt7wCEM8IeHb4f3Sbsnhas9ZJbr6eH0atBpWrwds/4fUIpPwT1qPiaMVZEK X-Received: by 2002:aca:90a:: with SMTP id 10mr2467302oij.81.1576769495620; Thu, 19 Dec 2019 07:31:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576769495; cv=none; d=google.com; s=arc-20160816; b=jzpAUGmQpNAiel4qb9FGW8xpeI7gyAQOndGMyCokDRxAXpFIVek3686ON4I4SUHSbk k3YnLPwJzFht3iVyYBdj0nGIAx6amYfmD0yEd5BMVZLbnMKQl1ORpj39w0Q8ezwMfo4W xMSNZSOfqwnVr+A6HXhwLbfDjYr+kPei997SHXd2c/RHYEOqMz36pK2olT7cYS3g4eXi MEAwIvjrXdYeTnsgYIvQzGAo7eDoWDDH4DNgLM4tgR8p3I5XBcjPCrbA0FhYVT8kTZpk ZOpSgpoIS3MD9OSL68xxb7iaf2NksO/tx5GcX6Yd1rj9zpTtU0z0G1IdekLjttavKsKS oYtw== 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; bh=mnfjP6k4EYMPSQAd8FQyr4dc1GxOomoZ3pw4HDzkqDg=; b=CUSEAdOvBk5L0dXey5fE/4oDcgE3Ub1AWfOklS8OrF2mpIBrZ3MZUlsTfcYO5TdzfF 7yX6j6sENMYpBGVq/xpAgMfX/vXbGpCmzhpvLzzTdZXkgD9MzfUhMnwgXNZdL20HHoq1 VGcyscaJHesMBZ4YIIvWl6Zyimzh1VrxVK9TbLigwlHxL+jpanyQNyWqhxWWjI8x/Vmo t7vXhahrhWn99JAoCUOr0/kMHMHe2iu+cjD5bPI9xEVGlrMHuMdlyzfhjbDMJec/t52j ZIsZOxlTdp7zEJDibd8a8q8WXTGhQ+MSfzAS8EgAaQ9ryt0PkV8CluAhbqmVWZM2D9AL g18w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Txbkg19C; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si3284921oii.2.2019.12.19.07.31.23; Thu, 19 Dec 2019 07:31:35 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=Txbkg19C; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbfLSPam (ORCPT + 99 others); Thu, 19 Dec 2019 10:30:42 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:46404 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfLSPal (ORCPT ); Thu, 19 Dec 2019 10:30:41 -0500 Received: by mail-io1-f66.google.com with SMTP id t26so6135955ioi.13; Thu, 19 Dec 2019 07:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mnfjP6k4EYMPSQAd8FQyr4dc1GxOomoZ3pw4HDzkqDg=; b=Txbkg19Ce5BeNxVZFztGK/4ET8IbGyS+UbPTU8taEIdc/CRlU16H2EPH71w+CS+0Sm Cb+PANTxHoE1p27OGVzdm/7l8UjDPCb+p4pUekDybL+x4+zsd24heZwKaVIRQ4wJ5Mv+ EKa/yOgQTDAWxDTxAdOaALMNlnPna9HmnB0ahL+kWSuGd7NN2A4OpH8xPnPGrDKvk2tN MSQ2R5vKVhFbzZ83P7pGZZDXws8S5Zaql8/6gAptRpjnayMpEeOtTLhowuebu6jqKmHq 8cjBJDcYN8p7Gh6/FxsDy3doDswZ2CxxBIDxFDoIiE6RmrALJoD66dx7NF0kme51xYVL nTqw== 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=mnfjP6k4EYMPSQAd8FQyr4dc1GxOomoZ3pw4HDzkqDg=; b=aOq1rKrBr1zQ6t/te/qUy/HRNpayrePA7OJ0vLYMkcvtwVcpjBod7xU1daGJAHP/P6 0IMJmT0l9HdjzC67SUjHk/M0CVGquj6vJn0yiWPcB0k5Wg1hQ/IZB5dpCkkyg5ejmIsp cOGd5618F0Fhq14UqV/9M3XyF7H9CDNJWsDmgVd6jfTMugnbXUzod8E3qBe13HXJKgTm Gc8T+1vBchg7icNmlrjNxhUGx7i1/lElYhUm+XdvRx8lEMoxAmtXP+8r3B9IT7hjLRSa vwuMqrRS5GltDnhNpRcMlxRSs2/Rtn/1qpS4ltLA1ahw7foJLwtgZ2mTvvnUrY2Rwn3Q NCkQ== X-Gm-Message-State: APjAAAUo0t3yi8dueGRqLlcvDfzYXEp0FrvCrxFVZbYastmnyd3RUYHU GqYRP0ERshtaDfv2LSBpaX/i5iiPCMb+R0Crq3A= X-Received: by 2002:a02:cd9c:: with SMTP id l28mr7698626jap.46.1576769441162; Thu, 19 Dec 2019 07:30:41 -0800 (PST) MIME-Version: 1.0 References: <20191219150433.2785427-1-vkoul@kernel.org> <20191219150433.2785427-3-vkoul@kernel.org> In-Reply-To: <20191219150433.2785427-3-vkoul@kernel.org> From: Jeffrey Hugo Date: Thu, 19 Dec 2019 08:30:30 -0700 Message-ID: Subject: Re: [PATCH 2/4] phy: qcom-qmp: Use register defines To: Vinod Koul Cc: Kishon Vijay Abraham I , MSM , Bjorn Andersson , Andy Gross , Can Guo , lkml 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 Thu, Dec 19, 2019 at 8:05 AM Vinod Koul wrote: > > We already define register offsets so use them in register layout. > > Signed-off-by: Vinod Koul Reviewed-by: Jeffrey Hugo > --- > drivers/phy/qualcomm/phy-qcom-qmp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c > index c2e800a3825a..06f971ca518e 100644 > --- a/drivers/phy/qualcomm/phy-qcom-qmp.c > +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c > @@ -166,8 +166,8 @@ static const unsigned int sdm845_ufsphy_regs_layout[] = { > }; > > static const unsigned int sm8150_ufsphy_regs_layout[] = { > - [QPHY_START_CTRL] = 0x00, > - [QPHY_PCS_READY_STATUS] = 0x180, > + [QPHY_START_CTRL] = QPHY_V4_PHY_START, > + [QPHY_SW_RESET] = QPHY_V4_SW_RESET, > }; > > static const struct qmp_phy_init_tbl msm8996_pcie_serdes_tbl[] = { > -- > 2.23.0 >