From nobody Mon Feb 9 16:20:47 2026 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 00F0E27EC9C for ; Mon, 14 Apr 2025 11:53:23 +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=1744631605; cv=none; b=egSEe0VSLuwxyJV8bwxLziooaD1aEgBod9tLjQov0Fo2JrrFwNHdT5/lRoSiGEabxta9aKuyYcTetxWcqKHVHpgIw6bAXhttRqBcgNCW1XPelq8OtgTvcZmULzClFpMOdpnwTtmgdLpoPV+/oBy3uBuGDrUNq7f/ht9oPtcmQ+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744631605; c=relaxed/simple; bh=6yw3TIsSk+fi4n/Vx0e4/+C/cuCzBTjdJ6X1LsUILcw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=roH4rRdVLflB17aCIoSW20XLYTaf7APYqBT6V1S/LuSUgmof05lGnj0EEGXZSyiZnjIEnO032/Wp8vUf0jzaOut+TcfVUlSF8H38h12HF/Q5WQMJK1WwIP2pd7Ukf3bhIQ5V42k867vD5ttu+Hi8tDanouvq9gp9DHIZupZhZvQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=mTkFxhfU; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="mTkFxhfU" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53E99ran016360 for ; Mon, 14 Apr 2025 11:53:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= n4eQZ+dFk+f8kp4GW5geWITsRLjJdQNXKTH3mNGn2Jk=; b=mTkFxhfUZmQv+Ha2 xGxq9rz+GrL/Uut9a67pe4Rwea1aMZqbVA7SUr0/oNSKT+TSm0yKh4GKNe5ium4n fJ5gGWs6IRWlmovKIoxywN8RW9LCaR1GrFCTdUAOCdiPLqMUxLrM8yQnC8GHz1uN WKMLXlId4KzpusmU33QyQo8Gspy4zo60FdE27iKCGYS1k8SW5hUjLjDgECpZTCdq 5MRp4Q3J1NgfP3R1n7+fysgbd8Z1dFbSI0YdwsKE45EkplITABo7fFzh8eN48v+j U3HiZddGdumtTlpTEiAZsHJsTFbiVteeJvSBfZ+ZeP5UGfhm2ynpudjyOTlwyI+Z EIwZtA== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45yfgjce61-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Apr 2025 11:53:22 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-af8e645a1d1so2917495a12.3 for ; Mon, 14 Apr 2025 04:53:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744631577; x=1745236377; 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=n4eQZ+dFk+f8kp4GW5geWITsRLjJdQNXKTH3mNGn2Jk=; b=T9z9gsd2Y+SCKDh/HxYiaZxnekA6td2Dq3dSu5jVb3yfB3ciyrJvKoni0Qp8xoMJvd p2/lGADXxZg6nSAE+0D3cFN8lcXtqIZXIN44gqeXaOroOTp0aXadDwbUaFSigbjX9AWZ 4vPve2aogSU1YrNok4wG1mHkC5VKWprrXT2QjUrIs6qLvYXVaQbfjAO2fVjIHwtqVm6A c6Z63WPevi2/hiOVz5iEMX3pIL5ttzpqRYwBjPOflDtZ06mVpyHWOv8y+D7Am8uJOoqY zatbxTs91z4/EfaeDzhhMsPibbiWYqX1yvBIbA+FI3jyMDiB+lMbiaqt1o80G7RXrlVP iq1A== X-Forwarded-Encrypted: i=1; AJvYcCUcLmaIef522B7bu68uFCfpztZiPvCFCDFbTWju1X2wK2QkRRTK9toEw3RSinxSxU/DXoBMEzpkZVxV3LI=@vger.kernel.org X-Gm-Message-State: AOJu0YynsjWWOLW+79QOEUnWJs/koUFQqguYfu9Jp1aFK8WInWg5Ktv6 wFDJEc1ntt4KTqzNyQd2zYFktSglG9t/9XN0MOLhCXzfWFQsJyigSHg5LDdNo1ZK/0KSVKyiiGg qyPXkG7U2QJKrtO6EAaPKmQjtPLrwSjS11hpj1jrUDixuolhjPnL0dJgLW41jFEU= X-Gm-Gg: ASbGncucOYtbiYKMba96ijTl+5cod/JC8jsAMCDfBjpCimM0JBQKMJwaiFyk57NXud0 dZNAwy4HPXGXtF//Ja+N8ekhRaaNwgcSnZPKxHRoIFC2OIjYSjtGzQkm6oA9aUOrqLjrAf26Nmf Og9CZvOI9JRfaQYUDCOC8X7VqxpKnGliHJiYZhLsZ2nQI60nQOFVzCYpHyqiev/TFEv+pfVGb+F tGKXrgMIQrhyOuoZzzvsGoazTyDAqW/w5qdV9/ZwCnIbgFXqrZo5QMynr+XTmh5TyoQimcS+8ko LCWmjD6JzvmJejSGc0bhaVPsiPsHvyfaHtb2GCE2pGoc8cUm6REy6Hr9mPC5xsNAWDDkCgqOfSn gPkFRjnhCLLHtohatFC4j4aRQkOoft6mrvn40SJISxFEZ8AQ= X-Received: by 2002:a17:902:cec4:b0:224:e33:889b with SMTP id d9443c01a7336-22bea4ade03mr182958515ad.12.1744631576772; Mon, 14 Apr 2025 04:52:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGHsHPFfgUQeWJLdBCHGOe9nTEe4mD33k4b5yyMFUTnsr1hKZT/8yXc+mGOgsW1hkr/LRWb1A== X-Received: by 2002:a17:902:cec4:b0:224:e33:889b with SMTP id d9443c01a7336-22bea4ade03mr182958245ad.12.1744631576441; Mon, 14 Apr 2025 04:52:56 -0700 (PDT) Received: from hu-kathirav-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22ac7b8b73asm96425735ad.86.2025.04.14.04.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Apr 2025 04:52:55 -0700 (PDT) From: Kathiravan Thirumoorthy Date: Mon, 14 Apr 2025 17:22:49 +0530 Subject: [PATCH v2 1/2] Revert "phy: qcom-qusb2: add QUSB2 support for IPQ5424" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250414-revert_hs_phy_settings-v2-1-25086e20a3a3@oss.qualcomm.com> References: <20250414-revert_hs_phy_settings-v2-0-25086e20a3a3@oss.qualcomm.com> In-Reply-To: <20250414-revert_hs_phy_settings-v2-0-25086e20a3a3@oss.qualcomm.com> To: Vinod Koul , Kishon Vijay Abraham I , Dmitry Baryshkov , Varadarajan Narayanan Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Kathiravan Thirumoorthy X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744631571; l=2743; i=kathiravan.thirumoorthy@oss.qualcomm.com; s=20230906; h=from:subject:message-id; bh=6yw3TIsSk+fi4n/Vx0e4/+C/cuCzBTjdJ6X1LsUILcw=; b=E0yilhCU1zZvO9ftjOqRNoWih3UVAMwNo7/Nyz2O4KrVW0ZDLa2oMYE+Ao9NUH68MFShy98ck /MEmkscH1aUAk7KUB0wthNN6D+ow9navIrnig8fkvvEQB1iP3AeWENk X-Developer-Key: i=kathiravan.thirumoorthy@oss.qualcomm.com; a=ed25519; pk=xWsR7pL6ch+vdZ9MoFGEaP61JUaRf0XaZYWztbQsIiM= X-Proofpoint-GUID: B4flvFHxsH0KPPZB1F7cA8iAlmcQRc25 X-Proofpoint-ORIG-GUID: B4flvFHxsH0KPPZB1F7cA8iAlmcQRc25 X-Authority-Analysis: v=2.4 cv=Cve/cm4D c=1 sm=1 tr=0 ts=67fcf732 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=EUspDBNiAAAA:8 a=pdtzJwMO8baX11e5YFsA:9 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-14_04,2025-04-10_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 impostorscore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504140087 With the current settings, complaince tests especially eye diagram (Host High-speed Signal Quality) tests are failing. Design team requested to reuse the IPQ6018 settings to overcome this issue. So revert the change which introduced the new settings and reuse the IPQ6018 settings in the subsequent patch. Fixes: 9c56a1de296e ("phy: qcom-qusb2: add QUSB2 support for IPQ5424") Signed-off-by: Kathiravan Thirumoorthy --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/p= hy-qcom-qusb2.c index 1f5f7df14d5a2ff041fe15aaeb6ec5ce52ab2a81..81b9e9349c3ebb4d303cb040b5c= 913336bb6b6d6 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -151,21 +151,6 @@ static const struct qusb2_phy_init_tbl ipq6018_init_tb= l[] =3D { QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9F), }; =20 -static const struct qusb2_phy_init_tbl ipq5424_init_tbl[] =3D { - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL, 0x14), - QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0x00), - QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0x53), - QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE4, 0xc3), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TUNE, 0x30), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL1, 0x79), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL2, 0x21), - QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE5, 0x00), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_PWR_CTRL, 0x00), - QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TEST2, 0x14), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TEST, 0x80), - QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9f), -}; - static const struct qusb2_phy_init_tbl qcs615_init_tbl[] =3D { QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0xc8), QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0xb3), @@ -359,16 +344,6 @@ static const struct qusb2_phy_cfg ipq6018_phy_cfg =3D { .autoresume_en =3D BIT(0), }; =20 -static const struct qusb2_phy_cfg ipq5424_phy_cfg =3D { - .tbl =3D ipq5424_init_tbl, - .tbl_num =3D ARRAY_SIZE(ipq5424_init_tbl), - .regs =3D ipq6018_regs_layout, - - .disable_ctrl =3D POWER_DOWN, - .mask_core_ready =3D PLL_LOCKED, - .autoresume_en =3D BIT(0), -}; - static const struct qusb2_phy_cfg qcs615_phy_cfg =3D { .tbl =3D qcs615_init_tbl, .tbl_num =3D ARRAY_SIZE(qcs615_init_tbl), @@ -954,9 +929,6 @@ static const struct phy_ops qusb2_phy_gen_ops =3D { =20 static const struct of_device_id qusb2_phy_of_match_table[] =3D { { - .compatible =3D "qcom,ipq5424-qusb2-phy", - .data =3D &ipq5424_phy_cfg, - }, { .compatible =3D "qcom,ipq6018-qusb2-phy", .data =3D &ipq6018_phy_cfg, }, { --=20 2.34.1 From nobody Mon Feb 9 16:20:47 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 8A84B29AB0A for ; Mon, 14 Apr 2025 11:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744631583; cv=none; b=IKBWNj0RPrPNlKUIBKlSrzrZgWM31dS8aJ+t0J88WEt4R3/8FTXtkIA1lGnrk3eRR4ymQCyvGktfqZ+c3UXVnvhkgII4ZfCHEH3VO5MKIhArpmEsnC6Z2wI9YWLbp/qrtBrhREqCN1FCDcQwhdzxu/U5Ef64785hJKBpI0nOrPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744631583; c=relaxed/simple; bh=wk/Fhq9Q3rutgnD4Qc6wZpn1xULO5MLO0XKdfB5uUPQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NRcP/FpZazyz8b2vK7bRiIdVK5ugDmPVT3rW6FvnikhFEUNPHui0VwdJvxYCl83pwRD+e2ZZfGJFnljDQz/ojMRzgjAJdKERRlDRufsm53eFf1J0ENLrzEEmmi3MuejiUgS/QTNtjjgu5c8NrZ4lIV+5kZ3Ic7+t94j33jQ2o7g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=T4L48kaf; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="T4L48kaf" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53E99on9031332 for ; Mon, 14 Apr 2025 11:53:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qRH0CgOt7qs92GLKK4hmTnFI4HEOYb6qRnDMsfUX7Ks=; b=T4L48kafgUFhvliy 7SqJqXxDFuT0IZB0mSlADmRl3I9MZM/KIyO5Tj8zaq/Bwk//KS8g35NRpiJHx2U4 02M8wJeY6yVeuKJ2WROAPJ+y4zpDtaAWQ6BWPSTgzJ8or4U0mf+adW+qkui/pFl7 6+I7PG9+jzQYqI1UdqOL47Gj8Gun1D24BiZ0u91uGsSqcMVKNaWiLTd7knL14Tk+ FzHJhdMs01fHFU+9bb88rRQxxzc2TuIE9BDRQPXEA+q5SBrbdhS358eXOTdggCCl o2Z7g+k9hiXVzmPqnA1IO6tCw05ImGVWxp3EcYy/AwXNVccqv68EuSf06gtqv76p Shd7bg== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45ygxjvb0m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Apr 2025 11:53:00 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-223fd6e9408so33749255ad.1 for ; Mon, 14 Apr 2025 04:53:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744631580; x=1745236380; 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=qRH0CgOt7qs92GLKK4hmTnFI4HEOYb6qRnDMsfUX7Ks=; b=SEXs2lgYwvpkPc6z74bqS2VTatXjplgc2BSczZ4Pmox64nFwqVX5IQkVWQWWV0I3bn lN9Kqn5H3Na4y9of0Tex4pOk0/lSFufDRWE9qz4qWqra0PWIpQjeM69s+7OF8LLVlt46 KvakoVo2REZcPhglZh2RvAcaBLUuDsA6Ob5qg/CIhtWsBPURLQLFaHQthyV871Orke8V BhABNwJoWh4A93e0hSRPT6+jRKM04/srp4xReGuUgJ2F741TvSjKaKRHQVhTd4W6o9aU ZPHqLTrivN9NCJHeLIenvvyzN6+7Z9GsvL2Jnk4dhObKC+KIyQwGPGOVJwI88HG0osZj UOiw== X-Forwarded-Encrypted: i=1; AJvYcCVUPqY/O05Ip2E818yrwtCVcra8Xe8wXEcdgIeeDIvlApwxZ9vCGXNHXIfUEugG08mlUSO0sjxX/dznr6E=@vger.kernel.org X-Gm-Message-State: AOJu0YxAjXe1MS9vOBYoE+0VNbCSdJmIEDeqxjvaPWW9zdhVdvoBztZn zxs1yeDLhEOUA/PVTs63qizNMbn00Vp8idHjSiOrLp/iW+vuK0IX20XLqTkGx7tEHlE02AweHTs lZwuzD2HVkcYqW56fiskRo/4Ps89ABHZ1Uwpu7vnm51Dzy+z6rTDfRoeDwzjqvt0= X-Gm-Gg: ASbGncv2g9xXeDm/bW96s5Fxh7G+mOZPhc68nrey3qS/coRiJbjY971mG61rmUKfcxR kzKWE7c9m+rJdGHo7YxbR8oTIP2byKwkdBBaD7P4GAhTuQZsIwbPMTEof0WrREf0v4BP3FwI4E0 6g6YAedm9fmroLe5rRMGEf/Eq8n79eP00LSMz+YskS9wuKCzvgJIteRcMWntCBjaNzI+v96kf1f RFGIr/kZDHCey/+ZRNVupm0NEUSeejcN8IPtEmjSaZuqwRCGaW49UtM4Dh3t9u6Luo2FoaHDf8F 321K4e24OqTkQntMkZFQHyUtwiBiXLZrEI/IKr6yj+X02FkV0/xj0aG2LnmIMPMoXZ6AcpNpm2E uu7iTBkG3uxcNvCFR4LtgjRxLIC8pOJxwQquFhva9qo4PFE4= X-Received: by 2002:a17:902:f54d:b0:223:517a:d5a9 with SMTP id d9443c01a7336-22b694c18d9mr213896085ad.15.1744631579791; Mon, 14 Apr 2025 04:52:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPXOEiRYhXgMglgs11kctzcDXDK3b6W0HXJff+ysU258rbYV0ZpyqGT43lZkTX3t1fwWlzJA== X-Received: by 2002:a17:902:f54d:b0:223:517a:d5a9 with SMTP id d9443c01a7336-22b694c18d9mr213895835ad.15.1744631579375; Mon, 14 Apr 2025 04:52:59 -0700 (PDT) Received: from hu-kathirav-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22ac7b8b73asm96425735ad.86.2025.04.14.04.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Apr 2025 04:52:58 -0700 (PDT) From: Kathiravan Thirumoorthy Date: Mon, 14 Apr 2025 17:22:50 +0530 Subject: [PATCH v2 2/2] phy: qcom-qusb2: reuse the IPQ6018 settings for IPQ5424 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250414-revert_hs_phy_settings-v2-2-25086e20a3a3@oss.qualcomm.com> References: <20250414-revert_hs_phy_settings-v2-0-25086e20a3a3@oss.qualcomm.com> In-Reply-To: <20250414-revert_hs_phy_settings-v2-0-25086e20a3a3@oss.qualcomm.com> To: Vinod Koul , Kishon Vijay Abraham I , Dmitry Baryshkov , Varadarajan Narayanan Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Kathiravan Thirumoorthy X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744631571; l=1188; i=kathiravan.thirumoorthy@oss.qualcomm.com; s=20230906; h=from:subject:message-id; bh=wk/Fhq9Q3rutgnD4Qc6wZpn1xULO5MLO0XKdfB5uUPQ=; b=hAqdX7W+eHb4WuShSmXpBAAbTWTL9nQNSkf60MHrsSQNnXnMxz0CKkqs+q1bbkIziNaftbaw6 tYEmHNpWr39BVfmO5b9O6k/4HC+Qc6igstYAHGbeJm+u/uWJQ6tdEC7 X-Developer-Key: i=kathiravan.thirumoorthy@oss.qualcomm.com; a=ed25519; pk=xWsR7pL6ch+vdZ9MoFGEaP61JUaRf0XaZYWztbQsIiM= X-Authority-Analysis: v=2.4 cv=WecMa1hX c=1 sm=1 tr=0 ts=67fcf71c cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=EUspDBNiAAAA:8 a=45MnPZ1KAyxS56gpr9IA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-GUID: 5f5izK-MHPfWiYyBfoZ4zSDnvAi0m_jG X-Proofpoint-ORIG-GUID: 5f5izK-MHPfWiYyBfoZ4zSDnvAi0m_jG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-14_04,2025-04-10_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 priorityscore=1501 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504140087 With the settings used in the commit 9c56a1de296e ("phy: qcom-qusb2: add QUSB2 support for IPQ5424"), complaince test cases especially eye-diagram (Host High-speed Signal Quality) tests are failing. Reuse the IPQ6018 settings for IPQ5424 as suggested by design team, which helps to meet all the complaince requirement test cases. Fixes: 9c56a1de296e ("phy: qcom-qusb2: add QUSB2 support for IPQ5424") Signed-off-by: Kathiravan Thirumoorthy --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/p= hy-qcom-qusb2.c index 81b9e9349c3ebb4d303cb040b5c913336bb6b6d6..49c37c53b38e70db2a1591081a1= a12db7092555d 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -929,6 +929,9 @@ static const struct phy_ops qusb2_phy_gen_ops =3D { =20 static const struct of_device_id qusb2_phy_of_match_table[] =3D { { + .compatible =3D "qcom,ipq5424-qusb2-phy", + .data =3D &ipq6018_phy_cfg, + }, { .compatible =3D "qcom,ipq6018-qusb2-phy", .data =3D &ipq6018_phy_cfg, }, { --=20 2.34.1