Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp976476rdf; Wed, 22 Nov 2023 02:04:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCvAK7ph+sZsBSUvQqwEWbs9S4L+NVgcoeSnVJ3Jc3mNUY0TJ7ydmmibQL0iTEC7hhUEGI X-Received: by 2002:a9d:7f8c:0:b0:6d6:4557:bb2 with SMTP id t12-20020a9d7f8c000000b006d645570bb2mr2263529otp.30.1700647467816; Wed, 22 Nov 2023 02:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700647467; cv=none; d=google.com; s=arc-20160816; b=sqAjIwoy3Qzy61owwmWMEbZNhcgoy52c5nJV+N/umo6IpAUmRrhCJKJl8T4u/wwiqH cObOK+ckEYQ/zG9jxeij8aEa4fonEXzYo+FvfCBmAi3TrLlNCC2f/gDtTn+KxKdtOLVj OP0UPVv8PKc9LUJNngKtl7hW6DpxpXXJGhnUNBR1oOhgr+E7eh7yqkVohlX00ZM2MLQI s99Rk0ty9UzzS4PCXfL4ahyzoXgVlxSa3WHiON4Fh5hucRsMGiIGES1nn0UV6HlVjLtH NYPV1qAcvfPs7uSXbIDCH1qtqY+uOl/vQWM7qAZVQe+osaDQZFytHfFZtykKmSywAxml vj6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=MLFPkW/MlV/uq+oo/Ao5FwA9Bhrcu1wf5pve2aYJzvE=; fh=VpnRmX0G9N3KT2xz9Bkkqh1LIFLlK1DA9r6lixHm964=; b=GbcbCw4H2BiqkHA3Nd2ye+AugZx5as+6Dx5LeVT3mHGCE5J04pb07QHNj3Dj+lSNjE mzr3brudFFg8MIijhrha82NMlsfBEzPiUq7uuX8WCwBJHoepJua+ne1TfeE/dtyFJGkD dciyC8jp13b9pGZxw2bqkxN5XtKB9/ewPdeujPripsuYA2b2mEGLZXQIzW2v5jCO0NPI GLXi9Ilk0SKU4poJQqi0h52qyGWUyTdcNgZ8bxRTJoFc9McR3nMRG47YauyLCeS9B1Y4 qYiq56HJ4JcEdY4NhPhn9TqFUI9DZUECv2bh2rqmcPkBfiOFh1KWa/wzGU6lOEbCMnyl SZ/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Scygxwai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b14-20020a631b4e000000b005859c255ce9si12363887pgm.861.2023.11.22.02.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:04:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Scygxwai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 88AFA81A1EBD; Wed, 22 Nov 2023 02:04:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343781AbjKVKEU (ORCPT + 99 others); Wed, 22 Nov 2023 05:04:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343747AbjKVKEQ (ORCPT ); Wed, 22 Nov 2023 05:04:16 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8BB5112 for ; Wed, 22 Nov 2023 02:04:12 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-548d67d30bbso4182040a12.1 for ; Wed, 22 Nov 2023 02:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700647451; x=1701252251; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MLFPkW/MlV/uq+oo/Ao5FwA9Bhrcu1wf5pve2aYJzvE=; b=Scygxwai8F4ckcniCeXoe9mdtOthp1fM3jRHg/g3ZOxvjbozz6Z88lgnrkdGZHYnGH k3vXSSLHY5isAQWtV1plRFJzo44xxRlKuTEP7hoU0+UEvlG7Cr18Zv0ga/hqnPtA6gng IxWzmyQvU73LywUiCHROXbHipxTM2J3vauFomX8hG87/oGCckgIK1vLdnH6tkw/YfQFD iENcdBFPAori27qChhxEMBzOXbeW+I9ZijORtQyAxupFGco6snwSpvWK/9rR77bDWLk3 VETIfdvo7ToCLBs0oNrK6kz6lAsYcLOCh/PeXUx/2nfa8f7Akbf6kaZ+JmRdyY7Flz6z qCvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700647451; x=1701252251; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MLFPkW/MlV/uq+oo/Ao5FwA9Bhrcu1wf5pve2aYJzvE=; b=uHw4nLZbjHJ2FcK9/2krh6yF79OOIYW5+xLNRiJpVqn/5kmUWxTFHSwVTbSdy0e/L/ 6DICSRH1DJnmEzBzqsVw+P1Tf+J7OgppAv/e3XQ8mNvMrd9AlvhZFEC+PGPPTur0nGNy TkLy12/CQ2u1i7pq4NiWtd3U9/VHTjF8jQ5YQ8pOnIW56yKaNxuPYczwKNTRNW+sBPFi yQGNGNFyX84SDzME+abAzgVuFxg418Hiw+4QMj/fCFWtHAtpZ1sYp24LuOzWXa9LKrdF hVuFYEeOxusLDMviYt14WTW8KCjl1vWlKl6stUrGLf1mkOi/vowW1d84hB0KYJDhw5zk b7VA== X-Gm-Message-State: AOJu0YwWtLl2PbPrkfst+wipwX80QOFTsaUGkNtk3+tsfLyT/OjnP9jP 0KmFxb05ptJwVc9B92ul7rTINA== X-Received: by 2002:aa7:d158:0:b0:543:bd27:f4a9 with SMTP id r24-20020aa7d158000000b00543bd27f4a9mr1253990edo.12.1700647450974; Wed, 22 Nov 2023 02:04:10 -0800 (PST) Received: from [127.0.1.1] ([86.123.99.122]) by smtp.gmail.com with ESMTPSA id o9-20020a509b09000000b0053deb97e8e6sm6110456edi.28.2023.11.22.02.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:04:10 -0800 (PST) From: Abel Vesa Date: Wed, 22 Nov 2023 12:03:54 +0200 Subject: [PATCH 2/7] phy: qcom-qmp: qserdes-txrx: Add some more v6.20 register offsets MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-2-d9340d362664@linaro.org> References: <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-0-d9340d362664@linaro.org> In-Reply-To: <20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v1-0-d9340d362664@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1473; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=CQCC6Yo01m3EkX7DFbVM2rHCtyL2n/UNlvvZq6QHvbw=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlXdIQ4jXPQZSqmEmRr6E4lDxBv+hNol1XBRRHm GNjV4UYEnGJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZV3SEAAKCRAbX0TJAJUV VipUD/9Ghzw1LnTe+JfhAgsUpLbfkWH/CvwFhlDdZj2Ql2+LcZnDvsCXImob65IsPx7BH3h4iM8 Nl8Dk74jr4I56GaoQTtsnb9VInWu5AVn8Pf2R3JVBt2jwPdgOMgPZCm5PeD0ckBtpNj6lOiHpkj cYICPvKJ1YbR1WMusstk9LNrGT7qGN9y+WJQe2gZPJJjTtGN3PB9G4dbZaxIus0J3GbtoWJwAwc Wgf2DcfIYduPqw6kF/guL2IoqIDUs6g/gEWxpVVZt2Em2ifasBzxMYkLFpJcgHHbA+4iYfM8X1T jLOejesPOmcxsyaCgZDEQw8eujdwxeEZANUR/MHIO2Qa4J4Mr1ZBP4qQF2EqQQAb5iHp9vAE5Qi y4CWV1eoPjFooQx+LnycxqFYj1NC52t36jQabPWfy09s9lLeSTtsl8/iGpFbN/sfoo95Yuy37Yy SsN1QftljzDfqfV0Q4eIGrYy1++/F9uSiNWYJh5TW87A3hHzE1RIc9Tj5GFZ8RAIRpoNdxhO6f+ C96Wrw5r8ukHi7FrdkbFXq3nT6XpG4aC3atWQvCs+CmFFTfRFCp+PKO8vK95FIQ0SYqA7GN8+Id ELzHiPPDbPGnDxFhF8jzPQ9df2L20fZqJd1oAMrAeCYg8VMjF3Pa2MhJkOIqUcJKNGKKs1T1Gdo U07zTLFhPs9S7Ww== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:04:26 -0800 (PST) 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 #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