From patchwork Wed Sep 4 08:33:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13790019 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 D0B391CDA22; Wed, 4 Sep 2024 08:35:15 +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=1725438917; cv=none; b=niwfAi3PtdBSAiVEFzQoGwMeJAtf1wmC4FOJzlDvymQ2o7iImxZTfb+SdTokDq9HI8nB34n3er1mDD1D1lzSqx5vOUFizabnvK2dGE1CQSLJN9A7dwYA2tgpgY/B4AG/b8wnfo1K7yXg7wVNoCxDJ2QkjLlKtqc8dYxIILA/IR0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725438917; c=relaxed/simple; bh=gEoTXv8UwIJUlQyxqO3XU3PZlnJ8Un3utqNKw6n48Ds=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=MOgUeux3Tk4M9ihjYzalAhhYvwJ1sOAJHYlUb5aZe3p/+QwAZ0Svgq3h9xL5oigi1RfMn+uvRf+FQVDShEfMMyMlxSVJdBKX0/cchtOylceBZlNjbQOLmq9R0EZTa5Wf5mqJvGQP0IQoU3Q91sRqTaGHOzmDY///zS+OuiWRx4o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ccQomuef; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ccQomuef" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 483MHPqn009070; Wed, 4 Sep 2024 08:34:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= R8ME4FckeLHQIcpLaDn6hA0Y5vPo3ciKAy4XYCaUwrQ=; b=ccQomuef9NPvdX9L jExBCxZ3UMWwN80w5hdgOf9eGYbHIyBp4+t5R+4yMVx66dqjUouaOSyx6uW7qzex 0YskkSzczWrHMHNy/Gklf+JhAZgX+tofps9724N5h8lJb1KPm3zvzLXyyX3iT/0e l71aTBiO2H88PlxGRIAglGZE4kiljugUtwC+udpCaDjvtPCCFO6kl6oMAIc9OStO qloDfHDPnEIoeIQlVEus3MxwbVBW7EAT5c0BR88Lce0ZUF/oJtmRp6yGSx8oN+VS hkJww7+7F346zHRJs4UxUmW5/p8f5aVNiei+7X340H0dmxz8tklBJ/KfpqF6VcmL bg9Leg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41bu8ut572-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Sep 2024 08:34:54 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4848Yqtl029121 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Sep 2024 08:34:52 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 4 Sep 2024 01:34:44 -0700 From: Jingyi Wang Date: Wed, 4 Sep 2024 16:33:46 +0800 Subject: [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240904-qcs8300_initial_dtsi-v1-5-d0ea9afdc007@quicinc.com> References: <20240904-qcs8300_initial_dtsi-v1-0-d0ea9afdc007@quicinc.com> In-Reply-To: <20240904-qcs8300_initial_dtsi-v1-0-d0ea9afdc007@quicinc.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Bartosz Golaszewski" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , "Andy Gross" , Ulf Hansson , "Thomas Gleixner" , Will Deacon , Robin Murphy , Joerg Roedel , Konrad Dybcio , Robert Marko , Das Srinagesh , Jassi Brar , Lee Jones , Srinivas Kandagatla , Catalin Marinas CC: , , , , , , , , , Jingyi Wang , Xin Liu X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725438840; l=855; i=quic_jingyw@quicinc.com; s=20240829; h=from:subject:message-id; bh=4gCLjJyTXQB8sM1VhR5R8/LEPXEr25dP520CDXKtzso=; b=oXHaZm1yJZRvajLUKL/ZDiC2rVDxnxh2hZHawhPLExYv/jcBrTM4trbo+WaZ8ezBHvd7LTALi orlDkU54xgJBbb+kGduYsBhbr6xHCZwlyEOc1b1tb8WnHr7ZE2LbKjD X-Developer-Key: i=quic_jingyw@quicinc.com; a=ed25519; pk=3tHAHZsIl3cClXtU9HGR1okpPOs9Xyy1M0jzHw6A/qs= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: koBclPB-gm03Rd4UzbKXOJiJVyKrreSJ X-Proofpoint-GUID: koBclPB-gm03Rd4UzbKXOJiJVyKrreSJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-04_05,2024-09-04_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2409040065 From: Xin Liu Add QMP PHY support for QCS8300 which is compatible with SA8775P. Signed-off-by: Xin Liu Signed-off-by: Jingyi Wang --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index d964bdfe8700..8bad68400736 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -2010,6 +2010,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = { }, { .compatible = "qcom,msm8998-qmp-ufs-phy", .data = &sdm845_ufsphy_cfg, + }, { + .compatible = "qcom,qcs8300-qmp-ufs-phy", + .data = &sa8775p_ufsphy_cfg, }, { .compatible = "qcom,sa8775p-qmp-ufs-phy", .data = &sa8775p_ufsphy_cfg,