Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3018745rwb; Mon, 15 Aug 2022 16:15:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR5i5Ti+YKMcd5kIXFCXFrr5xv5CvXaw09XbWPPq2/v4xT+lDpuVEpugPyuE80Phqdz1/7iS X-Received: by 2002:aa7:d8c6:0:b0:43d:b0a1:5266 with SMTP id k6-20020aa7d8c6000000b0043db0a15266mr16090093eds.164.1660605335632; Mon, 15 Aug 2022 16:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605335; cv=none; d=google.com; s=arc-20160816; b=mdUVlI+xcN6Ka63pAlzl3yPSemFoFTJPrWyTRdZS8Na6vg5Mgfn9Z+rec0ubM4QGvH HPW4FikNmIscGaDBYNsPCqiNYIeT9udhHaosft6BNHYXUNtoJfYLbkywzrc7yfUJLGK4 unscvURzClpz7EqnaSkXEAFOSeXtdr6k9CjDIa29D08nDiWxAi/CuXG8Lfc+Uz6MoApR r5DT6CUJUCqqy0gwH1JZ8K/hu2gv3QPguIUE6Uao46LdbhiZ01/BPNXpLhzu+23gENND qrDeF87iTB8EKVhx7Vz65IrXwpTyPcXqmjM9KfEMw/VM6J+cFynlvAHhV3UwkBXsK7ru Wtfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hhEQ5a9o9kAbIfZ0Q5QzPgXM7GcAvTn5MWdP/dy+FtU=; b=Yn85HVpRzyRCUItmgUxSj22sXBZiBxKah2diBWV/7kcyDWT0MbMgzWTYv8KEq8enWV 3TCXiKi5zm9aTQRe4SsYFzDG4UBodjocZyq6Ck8+RpMgQKk50V6KRpkMZK/5DmNyDYzP 7GjOgPcERQuBVBn87m6uTs2Gq2+rYfMchFVp/Q07tr70tdWesGjf7lRQbSHxUqym9PAO EjgwxQ6T0Lse0iHcZ2uuILCMEaPtsJV6I6SihBxjtidln9wlyc2vz02JeHNim1Pr11Kt 86bYvifXiEkr5GEjBy0UkGk6RLuDuzZjEet4Nt57vFY2UG1vTOFith39zhd0V45+BDEq fhBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cZE/Y4zw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm5-20020a170907948500b00738553043e5si3562385ejc.573.2022.08.15.16.15.09; Mon, 15 Aug 2022 16:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cZE/Y4zw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347761AbiHOWF2 (ORCPT + 99 others); Mon, 15 Aug 2022 18:05:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345496AbiHOV76 (ORCPT ); Mon, 15 Aug 2022 17:59:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 693D621F; Mon, 15 Aug 2022 12:35:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 69F936114B; Mon, 15 Aug 2022 19:34:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58084C433C1; Mon, 15 Aug 2022 19:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592087; bh=mZgyq4mZcLQWF74aSysmnrWML+QTOy4RTquSjSzQl3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cZE/Y4zwEsh49GlbgalCIRkSYqzttPpq2WbNZ/Ba45w+lzLVcGWZaUkVHogaJBy78 Hwuecq0DdYmeqSyDKUXGeWOy0/kPY7dZXZ15gxhnbATZ793MVlDgaTuvsjQOAqyUmD 6FGky/UJC6KzfcmPe4uwwVPC0M2a+XnjSwC6pO6Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Baryshkov , Vinod Koul , Sasha Levin Subject: [PATCH 5.18 0732/1095] phy: qcom-qmp: fix the QSERDES_V5_COM_CMN_MODE register Date: Mon, 15 Aug 2022 20:02:11 +0200 Message-Id: <20220815180459.679762967@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Baryshkov [ Upstream commit 488987b2d5cade4e7680f7e81590435a848d1fa9 ] Change QSERDES_V5_COM_CMN_MODE to be defined to 0x1a0 rather than 0x1a4. The only user of this register name (sm8450_qmp_gen4x2_pcie_serdes_tbl) should use the 0x1a0 register, as stated in the downstream dtsi tree. Fixes: 2c91bf6bf290 ("phy: qcom-qmp: Add SM8450 PCIe1 PHY support") Signed-off-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20220705094320.1313312-2-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/phy/qualcomm/phy-qcom-qmp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.h b/drivers/phy/qualcomm/phy-qcom-qmp.h index 06b2556ed93a..b9a91520439c 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp.h @@ -1116,7 +1116,8 @@ #define QSERDES_V5_COM_CORE_CLK_EN 0x174 #define QSERDES_V5_COM_CMN_CONFIG 0x17c #define QSERDES_V5_COM_CMN_MISC1 0x19c -#define QSERDES_V5_COM_CMN_MODE 0x1a4 +#define QSERDES_V5_COM_CMN_MODE 0x1a0 +#define QSERDES_V5_COM_CMN_MODE_CONTD 0x1a4 #define QSERDES_V5_COM_VCO_DC_LEVEL_CTRL 0x1a8 #define QSERDES_V5_COM_BIN_VCOCAL_CMP_CODE1_MODE0 0x1ac #define QSERDES_V5_COM_BIN_VCOCAL_CMP_CODE2_MODE0 0x1b0 -- 2.35.1