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 DC4133E3DBD for ; Mon, 4 May 2026 17:07:30 +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=1777914452; cv=none; b=fUn1Y0RVe7DV9EJU9P1ohYRkqTzBqKKgXIx2Og1UxIe1NRRgiAjGGmkl639WwO73VHOzbv9P4PC7jN8B7Ynx4EZ/n/qjgMKxuJWScA0dEA4QoRAK+nEHl3pSLRTzJcPRxsF51GFBcZcTBlF/uxkpp/0AgsrjYgdNcDRJpyUsp9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777914452; c=relaxed/simple; bh=9HR3Xd4rmD5sUqSiHMjMhpAeSe2fKm1iaA4AmjsSxAQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=b0HTKqs91YpP3BnMce71/C9fK7HM5hwVEmvfQzsaN/MSOPMe8MXCtiFbo6CDFk5F2EtMq2L8nzqhuA6b2sIIK+xpBlY1ofFLUVKl+iqacs1AGAdNLNBf6demHDPxL+lFytZTdyUAEcJJcbkU1E6Rb0erO7m78pvGP2M54U88mpU= 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=KlqznbCl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=J/AlvfvH; 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="KlqznbCl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="J/AlvfvH" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 644B4Daq636487 for ; Mon, 4 May 2026 17:07:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=j56RPVoQs/E HqShchuuBXHfNfL9pTjlMbfxbxuh9Cys=; b=KlqznbClezUFLMrmZTSB/GRVxtJ jAtjeI+kCvUYck/SNsnN1uU7DVV4/cUXHp7UzahF76fm9qV2xZiNHfx16ohdPZHw 6nwd+8Gfhv9IL45YcSVugbSN8HT5S1MHfvtJXWMH0RxPUqLH7fpA+hCqcxePV06Q GaUVntOl8pprWCJVdAs9zPLQmrR3XxrvaE2tnAbQudH5ymWbS6Fj00GjHcNvpXK3 5jtGcU/3+UCxaohyrI4euAHSFdviwzAMtpd71cjGiawkFymXVOnKTopJRRqt0iPT B6gcqsMtCxVK7+OviDggsFkhtNk/ttA1giRNNMidXnqtLFyuS2MG+HZ2MFg== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dxsx499ss-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 04 May 2026 17:07:29 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-362eaa3aa61so4428287a91.0 for ; Mon, 04 May 2026 10:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777914448; x=1778519248; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j56RPVoQs/EHqShchuuBXHfNfL9pTjlMbfxbxuh9Cys=; b=J/AlvfvH2/gu0X8p6WTdjSjN+KbqTcO7g9B/ia9Y7Q7eiZUO+GdR9XhkaehaQr4qcM ysYyVzxM73Tb0wF2hBhl+GQF0oIgWxqzzXVGvCSunaGGolxAKr+hbffDzaEtzjAfPS31 Xrk60QSUq6DXMTjLPvG2njUaDGFJvezVa0Ty1K+OZg2bS4oVm+uoietksWo6seYdBCwz NiGUaY13p5VC6W8K55I47S5sx316IozAKf4BEjqVV7weqadVWI3bAWgsW2JXinQcd1ay tGXDVVwJLHvSPJLf6870evbW51fhKb6RF5si39OIejJS0CP+XNb/x4H1JtRo8kHSwnvM 9dQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777914448; x=1778519248; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=j56RPVoQs/EHqShchuuBXHfNfL9pTjlMbfxbxuh9Cys=; b=mwzjpzNLGZJt0ZzyWkrQ6cyQIg94kGkUHH5qhLMYut2aD1oGQl/kcn4duyNWw+RD8Y agDPV3K47kUeka44yO7E1ARe+Zktxa4CX4PEZv3Zi1FNPKNfcHRUVRD5LEfrHLBr2ccq 6kUgxSIhGJHNKAYWaEzJvBAmHLZd+5qKCgaKurDriRUat5W4qSyCaLnrWAHbyu8DhO6i /Cqm/VOwV5UNrZA7JeylrScdZhZVhCgubq7cM2l6cDVrZT4VLG1oDaL2tGSbUGne53RD pGK14nkhYqL2vzCRSbK/+eGZvlKehVXaLNsXOu/3GMi5evqe+3ept84mknrweZukCpic vLQg== X-Forwarded-Encrypted: i=1; AFNElJ9AJeTOsuVzeHrGIBHrPCRWgaTKiCD/tPqpRHTEHYkUrTvDlwiZIT3cREK1o+Zzn3sKr/ndQBwX/louwcI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3jzLvc3COGhqchjzOKv/KS6+3CPmKWlMaqDoZhBz5MvQL9Igi gtdn3tJ2h08ncmhRLVxfW6GyIcZCi0+GpmGfbpDJv1x9dzeV8+o0sJkvNRHi8TvlFio0f1Ni/p/ WVRsiACikOZh5MxuhiVGIxNVlGEMCno00sCMYdB77D06fpQsgmGivYXM8y93B39Le//0= X-Gm-Gg: AeBDieuWt13+Q7am0OOzE30SMsmFRyLMfMKFkM2ERG/U58dedxT0XR8j/UV0H8eOg9R Pllhz4SA7RBzDH1bgeRTbELH9tB5IfMFBZMyUVyKjyncZY113beSaS3VtmyvoIFImXqI8A7lN6b 3VHbLhtcQH697LOaQTlsWlLk/xRhM+Ef/zjzEhFXncqK0hEXQZX0zRoidT1R1HplO0Wz8oKXfpR grey37c1IYB8Jxad/59670OyOYYPvNKZHDN/oMXr2dOUclzq9xoPpsgnGRkdufCLLsYNPQdbpbe zt9mDqxaIRx81faguTHwyiEns3TsvN8Wx45FDS5I6h3ctGqXjKg6idjdG5Ogdb3reAhKOdvFWvB DIk2FKW0bqPDuq7XuWwCmKTKpKxkKBaA2gBn1GY25Uw8keyLNWhMbKEYsWnYrZQ08avOvXqLxFs It5A3tGKUcAgfqiFgsBA7P4rro9Q== X-Received: by 2002:a17:90b:35d1:b0:35e:d012:5a39 with SMTP id 98e67ed59e1d1-3650ce4b8eamr9749050a91.14.1777914448375; Mon, 04 May 2026 10:07:28 -0700 (PDT) X-Received: by 2002:a17:90b:35d1:b0:35e:d012:5a39 with SMTP id 98e67ed59e1d1-3650ce4b8eamr9749013a91.14.1777914447850; Mon, 04 May 2026 10:07:27 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-36528ad3154sm6256847a91.2.2026.05.04.10.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2026 10:07:27 -0700 (PDT) From: Krishna Kurapati To: Neil Armstrong , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Xiangxu Yin , Johan Hovold , Loic Poulain , Kathiravan Thirumoorthy , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krishna Kurapati Subject: [PATCH v2 3/4] phy: qcom-qusb2: Add support for Shikra Date: Mon, 4 May 2026 22:36:58 +0530 Message-Id: <20260504170659.282532-4-krishna.kurapati@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260504170659.282532-1-krishna.kurapati@oss.qualcomm.com> References: <20260504170659.282532-1-krishna.kurapati@oss.qualcomm.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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA0MDE1NiBTYWx0ZWRfX0OUyZ7e02ohC 7AgBgFu7iwKXb9kMsV3fCjH1m3x6hd+T+hRLtHz9ToKqrXevH9/KR4Tkii+dv1VCUx5jUttFG+H MXZTbLOR9u9MHH4KDaI7CWPe0I2Q2j9W72eaRu7bnzZNcjc10BxiGr2MACqNLM5h+0hcR7k361C f229XO6j57iCN5W0uosj0GxTGLpuiQ5DZwZbtHtsJxjWCTl5x0NB8kqb+xxEI2g+QjJRfsNNmfE tZpG6u2v5mVE2XesJz31sOBrcLPmMluf+a/gpFA0Ru1IhpKsRSx0i2n1jGCr5MWqz8KqntfTsr6 IGPdGM4CSJ5Ubtrpa1ghT6T+pG0Iu8+7Bvlmq/bFBn2LHWxSX2RF0juvh/BPOxfwMrCFnx7Me7+ qnYFin41kKiJNELTPk0ibohrIYjeENAVp+V3j2RxBvAanVDq8SRgfAgJ0Ar1PCBQu+SwRtvptDF z3YaLcgivipO9enD/og== X-Proofpoint-ORIG-GUID: bOHmUg-D2L6tg_Pi58DBwxXbhZ9_wyKw X-Proofpoint-GUID: bOHmUg-D2L6tg_Pi58DBwxXbhZ9_wyKw X-Authority-Analysis: v=2.4 cv=LdIMLDfi c=1 sm=1 tr=0 ts=69f8d251 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=Fn7aRh_OGbpVAvsfffcA:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-04_05,2026-04-30_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605040156 Add init sequence and phy configuration for Shikra. Signed-off-by: Krishna Kurapati --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index eb93015be841..ab7437e7b751 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -381,6 +381,19 @@ static const struct qusb2_phy_cfg sdm660_phy_cfg = { .autoresume_en = BIT(3), }; +static const struct qusb2_phy_cfg shikra_phy_cfg = { + .tbl = qcs615_init_tbl, + .tbl_num = ARRAY_SIZE(qcs615_init_tbl), + .regs = ipq6018_regs_layout, + + .has_pll_test = true, + .se_clk_scheme_default = true, + .disable_ctrl = CLAMP_N_EN | FREEZIO_N | POWER_DOWN, + .mask_core_ready = PLL_LOCKED, + .autoresume_en = BIT(3), + .update_tune1_with_efuse = false, +}; + static const struct qusb2_phy_cfg sm6115_phy_cfg = { .tbl = sm6115_init_tbl, .tbl_num = ARRAY_SIZE(sm6115_init_tbl), @@ -958,6 +971,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = { }, { .compatible = "qcom,sdm660-qusb2-phy", .data = &sdm660_phy_cfg, + }, { + .compatible = "qcom,shikra-qusb2-phy", + .data = &shikra_phy_cfg, }, { .compatible = "qcom,sm4250-qusb2-phy", .data = &sm6115_phy_cfg, -- 2.34.1