From patchwork Tue Jul 9 14:59:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 811847 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 940A219CD0D; Tue, 9 Jul 2024 15:00:37 +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=1720537239; cv=none; b=t3UCw8UQdzaDaBWLEoqJX6mjT8DW/AENk486mZn/zKGknMfEOcMRlPY5dfwCqg0znNQDA/TeJLcqjQN8Y6Wg1DL4d0LkCjCJycB96lamfwhWjBL/Eq2NFI/6TflnuIpDes07GKHyfzKdH/coPNSyShjmBUFcyzD2yHQr/VllxIU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720537239; c=relaxed/simple; bh=tSVoyUoM8j1Fb4gSGSZvBA7rWVMGN3RVTQBKA2VT0Wg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=SRoTJnlU9xk2UDD2Xb9qKGjOKrCZo+7rnZy50GwDRLDQMWHb1KnVuu+t8Hls2Z+KwTmLCONnimUfm978NZ/ptFfXm2A/wGpPXPzDZUpu2Uxlj3qkpoUKsQlBOHCefuNOsY4eg8eCOr5mA7+oUFekWyyDa1Cn+9OrZ9lHwWpnijc= 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=WDO5vEtc; 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="WDO5vEtc" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 469CtIlP020904; Tue, 9 Jul 2024 14:59: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= xFmIRdbUrN/SRjex3z7h0PRt9gfnuMo4F+8cGR+Lr70=; b=WDO5vEtcaJ6AwvN3 5ab6t2p+DuyCrCO/YbnA1oUjsNz8VcMr5uC+x24uV8TEyc+/htrjeRPJCK5kZ09F uq5MmTooLmnhEpjOMkNt+ZvHH0ERjx5zfP/lMcF+9z/X/X2QECEToeMIR2vNdkZ2 U6RhsjT0N5zGAQvdmrMaO83luNb90Ej99so4iTE1s6UuZeqHqv6hCX28xZn1PXTv buqlWn/Y1mufJc8E+WGTHuOVtkbi+/pLGLCuYZkiUIZw2SyWqKhUuARyudZKB/30 3I2iGD+khd9b9jUlhZRds+o0JHnJcGWf8qJVQdLbFIA1Oz4qeJSarHUBsHoZdMFu d81lwA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 406we8xp0u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2024 14:59:53 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 469Exq8g028668 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Jul 2024 14:59:52 GMT Received: from tengfan-gv.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 9 Jul 2024 07:59:46 -0700 From: Tengfei Fan Date: Tue, 9 Jul 2024 22:59:30 +0800 Subject: [PATCH v2 2/2] PCI: qcom: Add support for QCS9100 SoC Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240709-add_qcs9100_pcie_compatible-v2-2-04f1e85c8a48@quicinc.com> References: <20240709-add_qcs9100_pcie_compatible-v2-0-04f1e85c8a48@quicinc.com> In-Reply-To: <20240709-add_qcs9100_pcie_compatible-v2-0-04f1e85c8a48@quicinc.com> To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Manivannan Sadhasivam CC: , , , , , Tengfei Fan X-Mailer: b4 0.15-dev-a66ce X-Developer-Signature: v=1; a=ed25519-sha256; t=1720537180; l=1300; i=quic_tengfan@quicinc.com; s=20240709; h=from:subject:message-id; bh=tSVoyUoM8j1Fb4gSGSZvBA7rWVMGN3RVTQBKA2VT0Wg=; b=5I3Iz47oBZrDpGX5KoMZm24msLxbfoCKR1yJmKseDBMWoWx//D6JxGp6GpYHG8CxGYi/ohhpS KBBe/diXf8aBXI0fSb2oX7QFyKI7eXTzKHWIMgvLS0k9lrqMPejGwd2 X-Developer-Key: i=quic_tengfan@quicinc.com; a=ed25519; pk=4VjoTogHXJhZUM9XlxbCAcZ4zmrLeuep4dfOeKqQD0c= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Re5aLbVLr8Ra0WMQCNczRU6v9q4MTwFU X-Proofpoint-GUID: Re5aLbVLr8Ra0WMQCNczRU6v9q4MTwFU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-09_04,2024-07-09_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407090097 Add support for QCS9100 SoC that uses controller version 5.90 reusing the 1.9.0 config. QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p platform use non-SCMI resource. In the future, the SA8775p platform will move to use SCMI resources and it will have new sa8775p-related device tree. Consequently, introduce "qcom,pcie-qcs9100" to the PCIe device match table. Signed-off-by: Tengfei Fan --- drivers/pci/controller/dwc/pcie-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 26405fcfa499..ea3fddc74498 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1722,6 +1722,7 @@ static const struct of_device_id qcom_pcie_match[] = { { .compatible = "qcom,pcie-ipq8074-gen3", .data = &cfg_2_9_0 }, { .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 }, { .compatible = "qcom,pcie-qcs404", .data = &cfg_2_4_0 }, + { .compatible = "qcom,pcie-qcs9100", .data = &cfg_sc8280xp }, { .compatible = "qcom,pcie-sa8540p", .data = &cfg_sc8280xp }, { .compatible = "qcom,pcie-sa8775p", .data = &cfg_1_34_0}, { .compatible = "qcom,pcie-sc7280", .data = &cfg_1_9_0 },