From mboxrd@z Thu Jan 1 00:00:00 1970 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 6F061362154 for ; Wed, 7 Oct 2026 14:45: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=1791384362; cv=none; b=E74r/xx61in9TclTif2/NxufsX/mLW9EGzzIEIHTO7b9G7pI1VxkBJ+WxEht615YidrWnDrYgjt9y+v3nINh2DnOUi7RPTnjt2oWwNR+ph4+CI3tPC8sw1ViwTxyS7NmAzF8/flg/EKP4gTOkQr2ej/qg/A2PI31/kX+0lIJVk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791384362; c=relaxed/simple; bh=bg/u58FVPNfwcE8wQ1pOFEY7AW8NMLFUq7qu9enoAyA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ehLVc59kZnjuwMXEyVSvqEHuxvdtWvtl+fFM87G5qiKEBmqCrzrNaW+k3kI9kRHGj39QTk2nwWOHliuiLz0PsidLnCh5k4NvfUEw1ZPXluIG98G7z/kFDe4+XBkbU6wjQ/yN/TEAtLMDf8PJyYaLjKBiDewsxJardkxKJxem674= 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=Cy3Pinti; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=LnuDrqgN; 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="Cy3Pinti"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="LnuDrqgN" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 697BVGQ23687394 for ; Wed, 7 Oct 2026 14:45:52 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= Hwrc6Fdyj3kg7apwdRECnQhAgQVLP5Jp9gBIka1O4mk=; b=Cy3PintirSGHPd89 K2D4o+5vHgdySYaf/qVBLcfDWzZbHPkdhfA1pn0Kbv3Gu1SedWHBO0yPQYAYylCy LB8f1NECds9ReR/crXT9RBMehtKGMeVHgSeOYzjFTau21Gj4ahOqkMmY+fhjV7Hm 0/Ate2+AFpNXbijo8IkLWlLoC8XsvbACw+9zkOZ5+FEYJI2e5rRLB5Q7DNFTmGbX gIjfPVWLWnGyKkUPTC1XkWXCd9DQKvHQyKcfz+5eHZErivq5+8LbJHN7o0sahWjI Hr9OwKtW+vB7ZyVp/K3aH2IBARBdvVtAnSW7/sGQdYMWs4v66CnRPNF7qoyLqw+E 6x+IHA== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h5mgr8w9c-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 07 Oct 2026 14:45:51 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38e8fee6af3so4708453a91.1 for ; Wed, 07 Oct 2026 07:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1791384351; x=1791989151; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Hwrc6Fdyj3kg7apwdRECnQhAgQVLP5Jp9gBIka1O4mk=; b=LnuDrqgNIEXDWuwigZkqNpHGVmwmXQ2B3rThhqeBOTwcKwnbqi6mgt0ErGPv+x7UL8 liBepK28Tu68irYPBV79qeX3/KKshaMl2/8j8Q9yoRlWTGQWB+dzfZPo1tnVgrYJUimX Voj3sfQVKkFBsmEZFTA5tPQURbE3Vj0yVKPFNMsDU4NBTFh5GUPUT14vd+uFdXeFYl9+ o+1ZY92WJrYHXThzkDpoqZrvtsydkYfxL5d8nI1m8AfxL0dRF3DEORwXXNotq+I9tTQu U2gNu0CwxcNj8eE4eP1dDKEUEKpgc1H1o2RcZeRYgr2SiO/9jzkha1RmDRZLugk3ZG8b x8dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791384351; x=1791989151; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Hwrc6Fdyj3kg7apwdRECnQhAgQVLP5Jp9gBIka1O4mk=; b=UPg7X3SuPDHrdZ0C0rQLO3mkgkWt7U7KiATgO9dNcfB9SO/6HE6gKFr+buROinaBfv fpR6ztpAp43W3Z4te9umakGAGbZ6mRllj23FtJalcXG3OKf0nhll7VUvukkkPyPkCE5/ Sebv4JxjQjdAuWTIDSCdcOMhhE+BcvKnlF5n2gftcugL1XpheTKX6FkYdqDpEBEJDd/K WeNuG5NcTzcno+7Ed6Q/To1ueXj7tegbP3G+0mpTlEPna1//ZDEhF2meep3iZSfFBWVt e5UGZ9CTc80E8uKqP55rou+XY/WEOaMI+8YIpUkUzvZyTp91GdBW4g9QFYfj1PUt5urY gNnQ== X-Forwarded-Encrypted: i=1; AKwUvByAyRWubJsczdno11IA9hWjJauUWjgzTXRVwqJ5LzK6/d9GDJZcZxZfVem/LSjkJ1MbkV0sHOs2Ala+@vger.kernel.org X-Gm-Message-State: AFq9FYJ+bcTrbthCqhyt8URNVf2/PaSLzMf4OvGqfpHeC69uDveAkmIk h3R0OGRw+qqDWxHt/ZWXe02lfKrKvahjPnZCPj9tVswB9hQ2+FS1SvzStHtHOeuIKFmd3Uqu9W6 mcpF46Zlfq5mu/dcMjk4jc+lSTZkVFVsZZsyM5bpoSyBCS8vi66VTi3P4bKn/B1/z X-Gm-Gg: AYBFou12/BzDjnqVXbikF9HfKv20PxDFcgbhdIqcj3pdGJXtbh7bDmHZ3Nhji0eLuf6 L4yIcxucDFqYGS1hS1SzVfvS4OJwxHxhvv1K0hOYhz3O99m/+1N6fyR7O1EBJAVmyvCa0KzO2JV q2LHezo7UuIbbzpcHSKWIxAVgXGKlkBszQIG8R5aCVxrcc1qpMu1pNbSQiIiDTBfnh5w9fZUUzu 31SGw7LRxelsVcjdInguaRiZV2fzIQlHio04GSMPirQTfeqNCBqFzGihC95R2+vxtQMxsDDsOth kK2T1MReyVAIkLRtj2DHakFOT430TWiKolkInzphlPKi1DrurTAYmOSDGgBvDqctBvzQNKb/b6x zyu36nGBTNjsB6WGn2vyF2NdizTHf8lXLWxymPzcd X-Received: by 2002:a17:90b:4f44:b0:3a9:9f13:e960 with SMTP id 98e67ed59e1d1-3a99f13ebafmr45561a91.60.1791384350770; Wed, 07 Oct 2026 07:45:50 -0700 (PDT) X-Received: by 2002:a17:90b:4f44:b0:3a9:9f13:e960 with SMTP id 98e67ed59e1d1-3a99f13ebafmr45527a91.60.1791384350133; Wed, 07 Oct 2026 07:45:50 -0700 (PDT) Received: from [10.217.216.105] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a8987b09e2sm5347940a91.2.2026.10.07.07.45.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Oct 2026 07:45:47 -0700 (PDT) Message-ID: <7e8ea792-2336-4252-beed-7345815b0b90@oss.qualcomm.com> Date: Wed, 7 Oct 2026 20:15:39 +0530 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 5/5] phy: qcom-qmp-ufs: Add Glymur support To: Dmitry Baryshkov Cc: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Avri Altman , Bart Van Assche , Bjorn Andersson , Konrad Dybcio , gopikrishna.garmidi@oss.qualcomm.com, jagadeesh.kona@oss.qualcomm.com, Abel Vesa , Abel Vesa , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, nitin.rawat@oss.qualcomm.com, sibi.sankar@oss.qualcomm.com, Taniya Das , Konrad Dybcio References: <20261007-glymur_ufs_qcb_enablement-v3-0-84cf4f861415@oss.qualcomm.com> <20261007-glymur_ufs_qcb_enablement-v3-5-84cf4f861415@oss.qualcomm.com> Content-Language: en-US From: Pradeep Pragallapati In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDA3MDA1OCBTYWx0ZWRfXxlD0oOKAv4M0 g3bVaSPKw77RibOCoIVU4Ajzk/nYRAO0WTJDEs7S4ZklTzYLsx3hqXNsIDYAq+VuM3H/WvhOdiz 3UWdqlhwzTuFJkGEfPLipBgaQ/w3ZeH1unIjIGbgKJVdrZFOgAj2/adOgQZImtDNw5dVgVQsH6M yj6g/PiknfLc7MVhMemVnE3nsp8mHbpzboQtc8QUaI4qKZfOWJq36yrK1bFmV+kYetD0flL+W1j eIpb7cEfsF87UaX4T1Hy35F9AkOWV9J8dk6NsHpJlwixBj2vbtBKZ3H07aIQ3iQ4crYB8SJDppF Tm0c9nGh/l7qLJbBhLXSTPRtX8mX0T2fRwBaUmjSmY8yJNEXAVG2QbkimaKk7lv9C8ONrXgDwxr xKxDukutyTyzuLKxVGeCLbCn6W5nV4aVjcVWZOI9WDWind3ml8r2wbecweW8J7nflZiu2Yxaz1x ZPK6aVy2cf1yGo1d4Hw== X-Proofpoint-Spam-Info: AW1haW4tMjYxMDA3MDA1OCBTYWx0ZWRfX9NPl5zGSJ+R0 XSQQcVq2pSsKtYwzloFMXsJs8A1kd/8o/3DPdJS9aD5vYReR6NezdTZvDeWdK2yhTGMmiPSjs+p FpxMzN6A2jEh36U8vT92hHNEZmLX2Ek= X-Proofpoint-ORIG-GUID: Ccu0hr9w_DylCS2Sf_Zj5zauxd6oxIGO X-Proofpoint-GUID: Ccu0hr9w_DylCS2Sf_Zj5zauxd6oxIGO X-Authority-Analysis: v=2.4 cv=OYkNnRTY c=1 sm=1 tr=0 ts=6ac65b1f cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=JfrnYn6hAAAA:8 a=EUspDBNiAAAA:8 a=arnyFyO8AZpeLAH_8-UA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 a=1CNFftbPRP8L7MoqJWF3:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-07_04,2026-10-06_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2610070058 On 10/7/2026 7:13 PM, Dmitry Baryshkov wrote: > On Wed, Oct 07, 2026 at 05:03:02PM +0530, Pradeep Pragallapati wrote: >> >> >> On 10/7/2026 1:18 PM, Dmitry Baryshkov wrote: >>> On Wed, Oct 07, 2026 at 11:59:38AM +0530, Pradeep P V K wrote: >>>> Add the init sequence tables and config for the UFS QMP phy found in >>>> the Glymur SoC. >>>> >>>> Reviewed-by: Abel Vesa >>>> Acked-by: Konrad Dybcio >>>> Signed-off-by: Pradeep P V K >>>> --- >>>> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 99 +++++++++++++++++++++++++++++++++ >>>> 1 file changed, 99 insertions(+) >>>> >>>> + .offsets = &qmp_ufs_offsets_v6, >>> >>> So, is it a PHY using v6 offsets, but v7 registers inside? >>> >> The QSERDES RX0 register offsets on Glymur SoC are aligned with the v7 register layout offsets. >> Therefore, the v7 QSERDES RX0 register offsets are used for Glymur (similar to SM8750). > > Mention in the commit message, please. sure, i will mention it.> >> >>>> + .max_supported_gear = UFS_HS_G5, >>>> + >>>> + .vreg_list = glymur_ufsphy_vreg_l, >>>> + .num_vregs = ARRAY_SIZE(glymur_ufsphy_vreg_l), >>>> + .regs = ufsphy_v6_regs_layout, >>> >>> v7 > > This still holds. > Do you mean changing ufsphy_v6_regs_layout to ufsphy_v7_regs_layout? If so, no. ufsphy_v6_regs_layout contains the PCS register offsets, and the PCS register offsets on Glymur are aligned with ufsphy_v6_regs_layout, similar to SM8750. >>> >>>> +}; >>>> + >>>> static const struct qmp_phy_cfg milos_ufsphy_cfg = { >>>> .lanes = 2, >>>> >>> >> >> >> -- >> linux-phy mailing list >> linux-phy@lists.infradead.org >> https://lists.infradead.org/mailman/listinfo/linux-phy >