Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp40407lqo; Wed, 15 May 2024 20:25:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHJnbRcZsXglYd4XrKW5s5AgWPZYiDFvclEeQ6WmGZ0h5mNXw4r1O3ZNzviB+d8jb3dYHEsvnOL2ZwoNxYx6cvTKJ+4UgKAMfVUU2V1g== X-Google-Smtp-Source: AGHT+IFt/HJiBIlm404/WRkZAUBSxmqNsWcVSzEqXPS8ATVVnZLjP+DjePQuZZn07oHDHBdBvOaJ X-Received: by 2002:a05:6a00:cc3:b0:6ed:cbe2:3bc8 with SMTP id d2e1a72fcca58-6f4e0347667mr20538558b3a.22.1715829928951; Wed, 15 May 2024 20:25:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715829928; cv=pass; d=google.com; s=arc-20160816; b=sYxOZICNwTHOs+G62K2mT1TOeTEZQAsohhCKb5KtRk7JObQdofRlxSYNpWQOtTjbA6 K/QFnlvBN2evgObU6Ro6aHyql0Ezth1iPt+pSdFkuy7jBCGnZG7QN6SHDkxh3VAfsvFw 8zvvE5Y8jgBswExnhn2vIg4VON/J0zUL7Xnt6Nfoj8qNJXP2/AiaOGYKzXFf+hPcef05 uMe2asXRQJEL1fQP3NH6aRZfbnnURT3w6dQtDUFiSkl9hlcY+8YyMwhFel2P852+4QO9 CTP06dMv6ZLbVi6Nm05cxDTty5mpIz3kiMsiy9AoW1A3LGsDiDl0mav1tUVxjIHjb1fd /KKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7LybHB+b9AL1vnDUHoRU7kZqswdADAP76zO0M+MWdYc=; fh=zOAEVW779020zWoajoCQDRyJNz/v6YxcfZDmCASJdKE=; b=xiIgBsAt8n2mugmCuy7ENHhpvtyj3szCvH13inwmKXPLTranYRjgHdafzlmNDHCgzD ajcZkRlM6BViwEsExmlwqexttpsTA9OY+oCznnoN7R+yB4SB9+eO6nWqPxNKJmkSi7Ol KH9vofyfkpLwT/+7NNhVVZ09o33aanMnohELmH/7wL10KZ4mB06nyK/l8i2jZ0TxnsFf xmgEt1KC3BWuook2rxJJNiIlU8GVcdmUpArtqKj0isj0KkR6XP7ob2CSd8wkLAz+LXPQ Ezwu6LRHN1PqZpOlN3Z+yTqZhq4H9xqgKX0SbBpJZ28cw9E5lGJWbkipFJg+ahhgxWMF M7Tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gveAMnbm; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-180596-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e823f4si14369030a12.6.2024.05.15.20.25.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 20:25:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180596-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gveAMnbm; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-180596-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 356592827A7 for ; Thu, 16 May 2024 03:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7D11882B; Thu, 16 May 2024 03:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gveAMnbm" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 868492566; Thu, 16 May 2024 03:24:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715829894; cv=none; b=Itt6LW5e96w25FcWbtIHDRHBeqbM2DvY4aHD+zR4Ec0N/gh9wZb5e8tR9dCZRCuGGiRL8ermKlwwekmpU0JuqW+NVmOBClFDAkjAIQmzN5/fOY4hiYefDxzgcsy4ViOcAkfgpQEnSPBrkb6Z4PpmcR+uQb2sRSt+uiBoDrAC6vw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715829894; c=relaxed/simple; bh=eDo0uyXJy1v8HADIPDDnspJg5QiH39YIUSmkJaeezYs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JFeWEh/PzVAqROUF+OqFJLJFIaJS8eAMRDqygA/hbMVuEJlKF5tpHM7WSFC9EQCHzRvmc9MWYF18hLHmOvS+wJqECxwNMV1CU/HiAlGbCq/G8BS30dgl7fqAKlhqTkqYI6ShISQ5aecyN6/9keizQh/mp8B+U7TpFTG79RL3aBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=gveAMnbm; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44FLjaSd007734; Thu, 16 May 2024 03:24:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=qcppdkim1; bh=7LybHB+ b9AL1vnDUHoRU7kZqswdADAP76zO0M+MWdYc=; b=gveAMnbms80ARJAF6w9SNnL vklvi8+ua7KqJLvi7TamBJztNz9wSBi7lgnRio5p/k1JxmLYM6iTkSfpohTe5/C8 g7apaBN1ob7EQD1kpvbivUF91hJTSO0lZDTl5tOagf32mXvD6e0tK4RIhT3t4dIZ 0X5HzpXLPx6VYkfzBWqJm0iL5/mFf3ZijIMykFr0SOG4vxru46ErBFcUw8QV0P1X yV04OFOcvE2EmMsiyUGcLMnnZ3/KWqN098H1iHDKHCPtVDtq/tsPi2uCw2h72GsP 1gzZ9a4nTMUPRVzTqXFjLjEjHhFJfhd2ZqZkeGEMZ918+lM0Z6z2k7AM9r2qogg= = Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y47f44egq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 03:24:47 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 44G3Ob2L032169; Thu, 16 May 2024 03:24:37 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3y4quybhjs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 03:24:37 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 44G3ObqS032143; Thu, 16 May 2024 03:24:37 GMT Received: from hu-devc-blr-u22-a.qualcomm.com (hu-devipriy-blr.qualcomm.com [10.131.37.37]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 44G3Ob3A032142 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 03:24:37 +0000 Received: by hu-devc-blr-u22-a.qualcomm.com (Postfix, from userid 4059087) id 67022419A1; Thu, 16 May 2024 08:54:36 +0530 (+0530) From: devi priya To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, quic_msarkar@quicinc.com, quic_qianyu@quicinc.com, abel.vesa@linaro.org, quic_cang@quicinc.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_devipriy@quicinc.com Subject: [PATCH V4 3/4] phy: qcom-qmp: Add missing register definitions for PCS V5 Date: Thu, 16 May 2024 08:54:35 +0530 Message-Id: <20240516032436.2681828-4-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240516032436.2681828-1-quic_devipriy@quicinc.com> References: <20240516032436.2681828-1-quic_devipriy@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: oMEVs3n_yHMKuY6PZ_2gLdSoxlyh9J7M X-Proofpoint-ORIG-GUID: oMEVs3n_yHMKuY6PZ_2gLdSoxlyh9J7M X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_01,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 bulkscore=0 clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxlogscore=879 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405160022 Add missing register offsets for PCS V5 registers. Reviewed-by: Abel Vesa Signed-off-by: devi priya --- Changes in V4: - Picked up the R-b tag drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h index a469ae2a10a1..fa15a03055de 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h @@ -11,8 +11,22 @@ #define QPHY_V5_PCS_PCIE_POWER_STATE_CONFIG2 0x0c #define QPHY_V5_PCS_PCIE_POWER_STATE_CONFIG4 0x14 #define QPHY_V5_PCS_PCIE_ENDPOINT_REFCLK_DRIVE 0x20 +#define QPHY_V5_PCS_PCIE_L1P1_WAKEUP_DLY_TIME_AUXCLK_L 0x44 +#define QPHY_V5_PCS_PCIE_L1P1_WAKEUP_DLY_TIME_AUXCLK_H 0x48 +#define QPHY_V5_PCS_PCIE_L1P2_WAKEUP_DLY_TIME_AUXCLK_L 0x4c +#define QPHY_V5_PCS_PCIE_L1P2_WAKEUP_DLY_TIME_AUXCLK_H 0x50 #define QPHY_V5_PCS_PCIE_INT_AUX_CLK_CONFIG1 0x54 +#define QPHY_V5_PCS_PCIE_OSC_DTCT_CONFIG1 0x5c +#define QPHY_V5_PCS_PCIE_OSC_DTCT_CONFIG2 0x60 +#define QPHY_V5_PCS_PCIE_OSC_DTCT_CONFIG4 0x68 +#define QPHY_V5_PCS_PCIE_OSC_DTCT_MODE2_CONFIG2 0x7c +#define QPHY_V5_PCS_PCIE_OSC_DTCT_MODE2_CONFIG4 0x84 +#define QPHY_V5_PCS_PCIE_OSC_DTCT_MODE2_CONFIG5 0x88 +#define QPHY_V5_PCS_PCIE_OSC_DTCT_MODE2_CONFIG6 0x8c #define QPHY_V5_PCS_PCIE_OSC_DTCT_ACTIONS 0x94 +#define QPHY_V5_PCS_PCIE_EQ_CONFIG1 0xa4 #define QPHY_V5_PCS_PCIE_EQ_CONFIG2 0xa8 +#define QPHY_V5_PCS_PCIE_PRESET_P10_PRE 0xc0 +#define QPHY_V5_PCS_PCIE_PRESET_P10_POST 0xe4 #endif -- 2.34.1