Message ID | 20230114071009.88102-13-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp164129wrn; Fri, 13 Jan 2023 23:13:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXtzqMgqxP7cE3tfXu4Bq39ZztXwTkpeRshjTlT06Rb6woUjZ1DZPfy61Gk62TEBhZHdK7u7 X-Received: by 2002:a05:6a21:3944:b0:a3:754c:2769 with SMTP id ac4-20020a056a21394400b000a3754c2769mr97495556pzc.40.1673680417351; Fri, 13 Jan 2023 23:13:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673680417; cv=none; d=google.com; s=arc-20160816; b=T1o7vuT+UCtEYlFfbhkrH1aGlgllj22WShZJ0ZmI1xXR/Ry1XRoR84yl69rNI59woU 5G0Bj5tOgEbWx9i38YOV3Yo+VfD5L25YfInVga2osurASpibWn+BlJBgYNUx/lMV41Cq EZO73fDIkGV+uezxaRKmyNjSjCwEJW9trwmuVJ82CBbDZy5AIikOmlJlAULeAqWsUKjw WdTbXhu21etGAtOIdoZ0lwRmjMt7QqGV9lfVPvSREt9xD9JdiF6qH+pALjrL+8CvaN9T dWwKESla3PzMxWgolv7BnafSeWm8eXjrZIIp8JV/428XlMOB2bJw7jkjsKN5wmlhJZmr 23VA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IrkQ9WSsGQbF4BcRajMW7kD5vzHIY33MCkjUr8TDVpY=; b=Og3bhptQBeK4ZoXJvZEwDCPCWpxdImUmHkFdTrUYU2wMIWrwxOS/PacwM25EiDP2h7 9/hJlWdWZkSfZ9edD6F+izM45e4pvy/wfES5IXkBr0GtcIdmA/Q/wGQSF3dwAa0emu+e h4S2DQOFHMHh553GMVpNfCsXv/T1njRqqsEE3EoNpgHbblF9Cgv8Pp4Kvs9q+2bGG9IN Nn5gNVbYd7aCZnX0KDWnc+bNeS61uz3ci8rQwUNH+v3TpOqedCc76tvj5/61PYjnwGp9 mDJd8grPMRNA1p/NQK8ReJ3seUEb63GHzGixbbmkUtRCyMDhMSXsbZMuzVQvjmCxA9Jn fkLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VL92hbwn; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a654c4a000000b004790510f6e2si23486503pgr.815.2023.01.13.23.13.25; Fri, 13 Jan 2023 23:13:37 -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=VL92hbwn; 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 S229691AbjANHML (ORCPT <rfc822;stefanalexe48@gmail.com> + 99 others); Sat, 14 Jan 2023 02:12:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjANHL2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 14 Jan 2023 02:11:28 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 272DE358D for <linux-kernel@vger.kernel.org>; Fri, 13 Jan 2023 23:11:06 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id bj3so21288707pjb.0 for <linux-kernel@vger.kernel.org>; Fri, 13 Jan 2023 23:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=IrkQ9WSsGQbF4BcRajMW7kD5vzHIY33MCkjUr8TDVpY=; b=VL92hbwn5A4Ok8rWrnpvYu7rtsSghIgsZdlnq1gYZZAR7/lL3+dF2mCfmZWmklSDt+ brR7rLEu1ZtcSv9Hme0ZNsKhrzPg+1SGsapTBpEC3gWq23NpuMhTPjIsZ3UVXKYuroiX ie/YQ4s/Lj97ppJOT/Cb4LFAIbN5AsmUKjY9u52x8q//co1wzsUUoDgyVmp2Tu9d1i1c OOt573ShATOyuOjghyyZVW1cQLbHsC8T3oMXsyJFD6gXzAcBEugbAIm3qQiP9DxXeInJ /rRvkdgTUVz3Eegm+atXJ9imwCQIN07xQgyn9WUlWIybYZ1YqbkxWKkLt7ci5ItRaMEX PqtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IrkQ9WSsGQbF4BcRajMW7kD5vzHIY33MCkjUr8TDVpY=; b=K2o3f9o1U/1Fz8qa+uT8BlVTeX1kImlNwEHeWru7U0k0RUymJPrPCRA5+fikQohNjp xLPLSGRvwNKKN986aYjcyP1iySXanf8ZcCDmm3blCv+uLHHMj9zWpw6u20wR7dcv0Cwa YJ0NX8ADZ+IUct1X1nIs+fOgVf46bDofpjHuE6XwaNHLHVkJe50JO95DspBoEIjVejBu RV48GJ7Z25C/OLPEzK06CCSwg+FhccbRytmjdsQwtWkoHm7fCUbYPlGdjwbErLk7WZWH yFSDJV7oefJwisfkd4igD2858e/nkRkibrd39Bih0zNb3cLSndLnOtPRKS3OXuMCQh2x Rr+w== X-Gm-Message-State: AFqh2kqGRbwMd3fVi5MOpgRjSJJmjFxJpFoQESE/f/S8SP5SPV3/8jn3 jm6UKXOrlbXV8DJUNrTIA9iX X-Received: by 2002:a17:902:b413:b0:189:6ab3:9e64 with SMTP id x19-20020a170902b41300b001896ab39e64mr80347671plr.34.1673680265605; Fri, 13 Jan 2023 23:11:05 -0800 (PST) Received: from localhost.localdomain ([220.158.159.156]) by smtp.gmail.com with ESMTPSA id q10-20020a170902e30a00b00192a04bc620sm15225358plc.295.2023.01.13.23.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 23:11:04 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: vkoul@kernel.org Cc: andersson@kernel.org, quic_cang@quicinc.com, quic_asutoshd@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, dmitry.baryshkov@linaro.org, ahalaney@redhat.com, abel.vesa@linaro.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v6 12/12] phy: qcom-qmp-ufs: Add HS G4 mode support to SC8280XP SoC Date: Sat, 14 Jan 2023 12:40:09 +0530 Message-Id: <20230114071009.88102-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230114071009.88102-1-manivannan.sadhasivam@linaro.org> References: <20230114071009.88102-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754981117379704252?= X-GMAIL-MSGID: =?utf-8?q?1754981117379704252?= |
Series |
ufs: qcom: Add HS-G4 support
|
|
Commit Message
Manivannan Sadhasivam
Jan. 14, 2023, 7:10 a.m. UTC
UFS PHY in SC8280XP SoC is capable of operating at HS G4 mode and the init sequence is compatible with SM8350. Hence, add the tbls_hs_g4 instance reusing the G4 init sequence of SM8350. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Tested-by: Andrew Halaney <ahalaney@redhat.com> # Qdrive3/sa8540p-ride Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 5cdac38c5fdc..110d8fb9309f 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -768,6 +768,14 @@ static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = { .serdes = sm8350_ufsphy_hs_b_serdes, .serdes_num = ARRAY_SIZE(sm8350_ufsphy_hs_b_serdes), }, + .tbls_hs_g4 = { + .tx = sm8350_ufsphy_g4_tx, + .tx_num = ARRAY_SIZE(sm8350_ufsphy_g4_tx), + .rx = sm8350_ufsphy_g4_rx, + .rx_num = ARRAY_SIZE(sm8350_ufsphy_g4_rx), + .pcs = sm8350_ufsphy_g4_pcs, + .pcs_num = ARRAY_SIZE(sm8350_ufsphy_g4_pcs), + }, .clk_list = sdm845_ufs_phy_clk_l, .num_clks = ARRAY_SIZE(sdm845_ufs_phy_clk_l), .vreg_list = qmp_phy_vreg_l,