Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6592387rwb; Mon, 5 Dec 2022 14:51:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4VJgaHPP0UNB1KIWeV3RyNhVryW5Roti8yhJCl6gMC6PJAzkQE8gl0j2wDufEGrO5W5DWK X-Received: by 2002:a05:6402:538a:b0:458:fbd9:e3b1 with SMTP id ew10-20020a056402538a00b00458fbd9e3b1mr19453250edb.6.1670280679535; Mon, 05 Dec 2022 14:51:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670280679; cv=none; d=google.com; s=arc-20160816; b=P/Pi+QRs+XB/YG88EiA2RO8DBPRC6prjJMV+I23ctcJhmYpxVnAE2Vz/xiN5QTe32I 7TlHUOTh/qsMGtsdUjcIw1e2OO3hgyv6wlrC43cQ7T0qQNHt8cI9jFQBr24IIgB/K2iC bqspxJ1evdmYGosvvqsM13V6v4yibxfyw6ktATKglXntOzm344YKhJZ14xMhmCb9hmn1 aLc67xA+1cUqjuxkbHt5UK84MGIR2Hgr96u6JQkEl09l+QdssmOBeXZlpSIsYfKm5WED Z/lNBSSv1xQz7MvMAuQ9IHWLLVEvg2A1J3OgaBekHI8G6g/4sV4R8J8yw8FdbZck6pUR XyGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=9ouwMuYuz2oARizUtl7vzXJdY8RwuaCzneky9hi1f4c=; b=Yj603+372CdA0xFRnUnEp0lzKqscjyc7Gsn9EYBjLn/kpgyieprLqEdQn4O9uZZB32 HgYa8NXuO8TqpgQcNpopuF+YhzkasEj54ptzaftzspvCzZaPDw3ptpwvhpdvKHk7QcJq Lm1LXcyPf0avHFwSSwsdEz4NQwwH0OSshWpArft/GoQV8i4sKl8AOpZUti+90c6m4Z0Q Z9bEJgKu2CAK84A/r/CdLiAxPH6qAnH3z0OJPJn3+UjZX+msTKa3gEUmmbytpDyl2F5R oNHZnAtwjaX5S8KqVFjjUh6LVV/RX7f32PCgFdsZ/E8tfNC5J/uCAryt2ID4pLXFOb1R TsPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l2lQpqKK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc18-20020a170907169200b007c0dcc41dbasi5738065ejc.879.2022.12.05.14.51.00; Mon, 05 Dec 2022 14:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l2lQpqKK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbiLEV5H (ORCPT + 80 others); Mon, 5 Dec 2022 16:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231995AbiLEV4V (ORCPT ); Mon, 5 Dec 2022 16:56:21 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03D7010BD for ; Mon, 5 Dec 2022 13:56:17 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id bp15so20669423lfb.13 for ; Mon, 05 Dec 2022 13:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=9ouwMuYuz2oARizUtl7vzXJdY8RwuaCzneky9hi1f4c=; b=l2lQpqKKFAiJUi7/jAj8kNG5nQy91Jn341kmeJ5FkG/igoqQYJ78WDLru7D56uLTVa N5iAxwfXk/DC+m3bhinTJuHu4Gr94G3XcF81t0E/9Wnjjp0rpUtcc8gxftJqA1i1GsQi NnZBfXYmv0gF0Kf5W1bPM3NVNjFDrUuHR80LaM0w9dSKiYg1/kO4+39PNez37/YY51rC F4DQSOUHq4NOxy5KtyzTQoLMIZJdvvBAYllMiw8y2KViGrdfl7kJwpg35eXAVIUQlJIr NgAb1WGlKj4HIXbbkQ/3+gvPD6w0LRDgrqiRlxcLQutoKmCKuq9iLUHxEcj5a9tUSDyF weZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9ouwMuYuz2oARizUtl7vzXJdY8RwuaCzneky9hi1f4c=; b=iFGeDo/KFPiUHO2BmHkErwp+0rP7GZSGE0Sfz8qFPblmSCDCHStWEEiRNW1VI1H/Ss sanKdqjQH0PT6UvKY1B1bvhxHVg3t26VX+KmPw27F0qaqArlRWBw8LqULh33hOqcCk7x 1wMo/W0JV0cnnbW2rUwRultuQsBib7DDUVVapYl+xLmS8Mll9cgkteifYQrqpm+6HOmT lu+iXWAvG4pf1IZyiHFj6xHRL5iYL800NAod5Qg+ZGbNNq2Puyc7eZ4JKwM2FN5ud43K kwyugxEuBilWXAEb1YM4Iqo+TN8+XpzjiWD/332UO/gj3tOLxbUayNt905K7F/FQARaV oWbA== X-Gm-Message-State: ANoB5pnimRl0N1DiprvUeeTSfcDSbZgP7G8XCXOI/Oz7szWR9KOeGCGJ qiFiPQHIhZpOiDjhq09ZLhcQew== X-Received: by 2002:a05:6512:2591:b0:4ae:c2b5:29c4 with SMTP id bf17-20020a056512259100b004aec2b529c4mr24285208lfb.614.1670277375355; Mon, 05 Dec 2022 13:56:15 -0800 (PST) Received: from [127.0.0.1] ([94.25.229.129]) by smtp.gmail.com with ESMTPSA id l7-20020a056512110700b004a46f92a15bsm2246422lfg.41.2022.12.05.13.56.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2022 13:56:15 -0800 (PST) Date: Tue, 06 Dec 2022 00:56:10 +0300 From: Dmitry Baryshkov To: Manivannan Sadhasivam , martin.petersen@oracle.com, jejb@linux.ibm.com, andersson@kernel.org, vkoul@kernel.org CC: quic_cang@quicinc.com, quic_asutoshd@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ahalaney@redhat.com, abel.vesa@linaro.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v4_12/23=5D_phy=3A_qcom-qmp-ufs=3A?= =?US-ASCII?Q?_Add_HS_G4_mode_support_to_SC8280XP_SoC?= User-Agent: K-9 Mail for Android In-Reply-To: <20221201174328.870152-13-manivannan.sadhasivam@linaro.org> References: <20221201174328.870152-1-manivannan.sadhasivam@linaro.org> <20221201174328.870152-13-manivannan.sadhasivam@linaro.org> Message-ID: <6799A9DF-2CFC-47FE-B8AE-EF74C54E0C9B@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_NONE, SPF_HELO_NONE,SPF_PASS 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 On 1 December 2022 20:43:17 GMT+03:00, Manivannan Sadhasivam wrote: >UFS PHY in SC8280XP SoC is capable of operating at HS G4 mode and the ini= t >sequence is compatible with SM8350=2E Hence, add the tbls_hs_g4 instance >reusing the G4 init sequence of SM8350=2E > >Signed-off-by: Manivannan Sadhasivam Reviewed-by: Dmitry Baryshkov >--- > drivers/phy/qualcomm/phy-qcom-qmp-ufs=2Ec | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs=2Ec b/drivers/phy/qual= comm/phy-qcom-qmp-ufs=2Ec >index 96e03d4249da=2E=2E9f5526758985 100644 >--- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs=2Ec >+++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs=2Ec >@@ -763,6 +763,14 @@ static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = =3D { > =2Eserdes =3D sm8350_ufsphy_hs_b_serdes, > =2Eserdes_num =3D ARRAY_SIZE(sm8350_ufsphy_hs_b_serdes), > }, >+ =2Etbls_hs_g4 =3D { >+ =2Etx =3D sm8350_ufsphy_g4_tx, >+ =2Etx_num =3D ARRAY_SIZE(sm8350_ufsphy_g4_tx), >+ =2Erx =3D sm8350_ufsphy_g4_rx, >+ =2Erx_num =3D ARRAY_SIZE(sm8350_ufsphy_g4_rx), >+ =2Epcs =3D sm8350_ufsphy_g4_pcs, >+ =2Epcs_num =3D ARRAY_SIZE(sm8350_ufsphy_g4_pcs), >+ }, > =2Eclk_list =3D sdm845_ufs_phy_clk_l, > =2Enum_clks =3D ARRAY_SIZE(sdm845_ufs_phy_clk_l), > =2Evreg_list =3D qmp_phy_vreg_l, --=20 With best wishes Dmitry