Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp980451rdf; Wed, 22 Nov 2023 02:12:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzPZiQpdKit/BrpRFKwdbxVlqsNPW+SP9+cJ+awDoaWWkqTKTT35Wp2Zi7ogSd9M4byIYd X-Received: by 2002:a05:6808:169e:b0:3b5:84b0:6be6 with SMTP id bb30-20020a056808169e00b003b584b06be6mr2685780oib.47.1700647962677; Wed, 22 Nov 2023 02:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700647962; cv=none; d=google.com; s=arc-20160816; b=UoBf4UUdpir5HwNZkrUybLy8TXVRvoIu8hdKbdcWGFc+3efdmmjGOkBlzzNlZgdEwZ OHeXsy1AXeg3snaMLAtoMNcWenrOtS4WENN3WedzusOAdgT6fEtfZk9wy4OCa48W6Kh5 ymHjib651ifFsa8/NvuudL8IFeKiMYNKVu0wZfgyQzaME8+HYXMD+wu8Hb54Vhe877gW ZUfAVBTHd1H2NHUbZgWQ/PqIB6A9SEVlCmDYqhkGJJIP1Z2VMGg3a9DJoxwHls3ARy/h NcIaKq6gJySo3kTmvZXZs/wZhiiA/4wBKEuLbx9tyVH4YaBdbGtWWb3cf9+yE9t3XIoc uH/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VSREVsoB+CesK7N1lJ9hwky3qVq4cMcaEkJfYCXHc2o=; fh=E7Q3UsyaBUad5Lnm62lnhQF+90opuCK6tZsN4q/69Cw=; b=Ah3OdJagXTgG+2Mq8LYrMudXHtzJxuwzuCsLaVTTmTvMlt0bB5nd4VgWC/aqSjlp2I qeTod3a+1I/PpB8+ei2jkXld58oWNyb4G01AliLRkTXBqX4Ag9fq+VXex6S3FwRc+V0w mOsgy4mKBVLUygY5Ztw1zXZezkwJHzOrnEOLJojxjsRuEuJ+GJQcihB4hVRctdE82PcU CR5jVj/j11eKLNpIRiqIj2fcaBvTYELos0OTgJNdsnK8QT9evhklB64UsI9ZUl1bK7WK 8hP+/R3x/IVMMXf1/5PPNUb0Mj8EC4yZ3mRkrDxFqwTFiH5TqUVjIp3Zkma86b8ywWEx YDMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vcS4qQIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id cn11-20020a056a020a8b00b005b9b68add9asi12069307pgb.255.2023.11.22.02.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:12:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vcS4qQIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 246738096477; Wed, 22 Nov 2023 02:12:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235202AbjKVKMZ (ORCPT + 99 others); Wed, 22 Nov 2023 05:12:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235325AbjKVKMS (ORCPT ); Wed, 22 Nov 2023 05:12:18 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5EC01A8 for ; Wed, 22 Nov 2023 02:12:12 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-daf7ed42ea6so6462201276.0 for ; Wed, 22 Nov 2023 02:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700647932; x=1701252732; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VSREVsoB+CesK7N1lJ9hwky3qVq4cMcaEkJfYCXHc2o=; b=vcS4qQIwzKHi9nBoZmfaH3sxKzDqDA/ZpVOh/ETXLV1sEEAqA4/3jNvbMfyIe1rmDH ESkrFFAVXDgKYfEjUbhXiN4+e+gOuQmh7CRiFeuusOsWIJaKad4QWBvQWBi3XzNKwhlR PPZY3+879Kb2295YJCjvyDiV7UdKHSlZprjlYlFWUI4wCu73NSGw1HIaHvjnFw+rs9kW UHYUb+XZGDtdK+UiCY9Pz07PHj6pDJazzj8bpOMp/ezT04kCgXzcuQuDXs5krCgWSWrL gpp/gNUq9Fp9cfRpgO6ja2In/AqGfTTyJaQYUkER9dUVDQaCHGQ3287fCiBjpbqRk/7g byLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700647932; x=1701252732; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VSREVsoB+CesK7N1lJ9hwky3qVq4cMcaEkJfYCXHc2o=; b=NWY7z03oYf0QqwnTt4Ekb7ASf3N58E+TZHnn+xaJaK/JBchLSN+GoLAmsghl0LuVfb OHXB9noRwda8Ab7CXEfvsIUlIjWflpJ4iW9u/ZVn6yfTv+kUuREpAnD5nYjkLKH2s1+D eLso9tY1oVJkySHqQH5lBOVpqeYDwykjSPwK6HGXexolmC46j9/vWbMcv8CsfVni8xeu yX+A4wygk0uMHx0giAwpBFpRSdTYTKmsdpBg60QUAlVjhqJvj255dpTYLRT4ONOVX1yv a3KgLx0cML7lcQ3eeaYryRgWq5ToSNeEpbIZRGht3UOh70IlQGjwR+j9SL9MeE1qsPez Q1Lw== X-Gm-Message-State: AOJu0YxnkbwaHLrTScoUvZ93Ng/u7APAF9jdlY3Fn75h3pJGxfIeoT5K nof0BvyIj4PEdW9NUiFyFR31lMmY8W7oZus7nzCaXg== X-Received: by 2002:a0d:d6cb:0:b0:5c6:4de5:168f with SMTP id y194-20020a0dd6cb000000b005c64de5168fmr1594152ywd.10.1700647931878; Wed, 22 Nov 2023 02:12:11 -0800 (PST) MIME-Version: 1.0 References: <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-0-d9340d362664@linaro.org> <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-2-d9340d362664@linaro.org> In-Reply-To: <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-2-d9340d362664@linaro.org> From: Dmitry Baryshkov Date: Wed, 22 Nov 2023 12:12:00 +0200 Message-ID: Subject: Re: [PATCH 2/7] phy: qcom-qmp: qserdes-txrx: Add some more v6.20 register offsets To: Abel Vesa Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:12:40 -0800 (PST) On Wed, 22 Nov 2023 at 12:04, Abel Vesa wrote: > > Add some missing v6.20 registers offsets that are needed by the new > Snapdragon X Elite (X1E80100) platform. > > Signed-off-by: Abel Vesa > --- > drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h b/drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h > index 5385a8b60970..7402a94d1be8 100644 > --- a/drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h > +++ b/drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h > @@ -14,11 +14,14 @@ > #define QSERDES_V6_20_TX_LANE_MODE_3 0x80 > > #define QSERDES_V6_20_RX_UCDR_FO_GAIN_RATE_2 0x08 > +#define QSERDES_V6_20_RX_UCDR_SO_GAIN_RATE_2 0x18 > #define QSERDES_V6_20_RX_UCDR_FO_GAIN_RATE_3 0x0c As a side note, this should be probably 0x1c. Could you please verify it and send a fix? > #define QSERDES_V6_20_RX_UCDR_PI_CONTROLS 0x20 > #define QSERDES_V6_20_RX_UCDR_SO_ACC_DEFAULT_VAL_RATE3 0x34 > #define QSERDES_V6_20_RX_IVCM_CAL_CTRL2 0x9c > #define QSERDES_V6_20_RX_IVCM_POSTCAL_OFFSET 0xa0 > +#define QSERDES_V6_20_RX_DFE_1 0xac > +#define QSERDES_V6_20_RX_DFE_2 0xb0 > #define QSERDES_V6_20_RX_DFE_3 0xb4 > #define QSERDES_V6_20_RX_VGA_CAL_MAN_VAL 0xe8 > #define QSERDES_V6_20_RX_GM_CAL 0x10c > @@ -41,5 +44,6 @@ > #define QSERDES_V6_20_RX_MODE_RATE3_B4 0x220 > #define QSERDES_V6_20_RX_MODE_RATE3_B5 0x224 > #define QSERDES_V6_20_RX_MODE_RATE3_B6 0x228 > +#define QSERDES_V6_20_RX_BKUP_CTRL1 0x22c > > #endif > > -- > 2.34.1 > > -- With best wishes Dmitry