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 4959F2DAFBA; Fri, 5 Sep 2025 07:15:14 +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=1757056517; cv=none; b=vGbVmsQ95cte4OKSpCwUgA4+Go/RHGqjhSZ84X8Hs85BonOdOg11E6jo2vSCoR3ERFDx+o6hyX0gxPQ+oqwPi/SXeLV6F5UiSMobMrxnCMtqg7QqGuXALh4YQVgG8Vc0eDYmJyN04NO8lHDzv+Y/nZn3VsyTGWbXHi5J7VchNPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757056517; c=relaxed/simple; bh=l0LgmoVu57gmmqkxJRv6F9Ot+jdWHsty8iJFi6rkzxo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OhpcfbgUpQ4j+BEP85Dvc8BK4s41HmISCJ5NKnWJI4VYl7BgobitUlaCi/TOa+sHdRJIQYgP87FsgvdaZdl5/GDQEguix1ISNRrK1k7ZZUYLWx9kxXXe7jlr2bpPuDrgm3p4pJDzlN0BQHxGcXp80XZSGPFyiMCWWyEmzzDP7oQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=C2mJYHgM; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="C2mJYHgM" 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 5854SeO2018638; Fri, 5 Sep 2025 07:14:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=YJ6zDa0XJUo6OqEUZAiADROj3jEN4WSc4hw qt8M0CD4=; b=C2mJYHgM6g3GqzfC/ZKiE5sPDipdh6ad9Cf6LJ1sr1uDrMPrQd6 0eOS1HCBJu0pcxuzpEMcg66c2sE9b51lcL+irxSDXtP0y6kaAw8FVnc2VO4drqQk 6CZ6HZK7dtkgjE9Xb2dS0WWorc34VaRYuJaZe5YEpvKALTbb++SxqHPf4Jk6egwZ jWh+OZ35cBNSfnB+0VlMmmT+9U1MNt7zllAVntXlCsKKVcagVHd8fLn0GYz8I8V6 5RbjrRhJDHinEBxrMBM/yLt3aB/vVt8mbsqtyofc4dZfkJtkhDQ3cY+SI+V8vBZd /JWTcUyuJfS0HHJXRMbMLoihBTfgYnQ/Y0w== Received: from aptaippmta02.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com [103.229.16.4]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48yebut367-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Sep 2025 07:14:58 +0000 (GMT) Received: from pps.filterd (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 5857EtRm016434; Fri, 5 Sep 2025 07:14:55 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 48utcmrhs3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Sep 2025 07:14:55 +0000 Received: from APTAIPPMTA02.qualcomm.com (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 5857EtGx016424; Fri, 5 Sep 2025 07:14:55 GMT Received: from ziyuzhan-gv.ap.qualcomm.com (ziyuzhan-gv.qualcomm.com [10.64.66.102]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 5857EsKJ016420 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Sep 2025 07:14:55 +0000 Received: by ziyuzhan-gv.ap.qualcomm.com (Postfix, from userid 4438065) id A8D20522; Fri, 5 Sep 2025 15:14:53 +0800 (CST) From: Ziyue Zhang To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jingoohan1@gmail.com, mani@kernel.org, lpieralisi@kernel.org, kwilczynski@kernel.org, bhelgaas@google.com, johan+linaro@kernel.org, vkoul@kernel.org, kishon@kernel.org, neil.armstrong@linaro.org, abel.vesa@linaro.org, kw@linux.com Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, qiang.yu@oss.qualcomm.com, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, Ziyue Zhang , Ziyue Zhang Subject: [PATCH v12 0/5] pci: qcom: Add QCS8300 PCIe support Date: Fri, 5 Sep 2025 15:14:43 +0800 Message-ID: <20250905071448.2034594-1-ziyue.zhang@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: F8CcoH5iPPSokcYbbB7M9mXrL7Bz9ofZ X-Authority-Analysis: v=2.4 cv=X+ZSKHTe c=1 sm=1 tr=0 ts=68ba8df3 cx=c_pps a=nuhDOHQX5FNHPW3J6Bj6AA==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=yJojWOMRYYMA:10 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=QyXUC8HyAAAA:8 a=MByrn4WnkjAl5ObW7ywA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTA0MDE2MyBTYWx0ZWRfX8WmAfvP8WHte xLgGWm1v9paNtIv5oPmep6jNOQw5tOR00979rY2ybfZyO4Y54RVduI38H26Tz+Z9LlLnQQgDqwH iFxGtdpTsPBR0whAfAIudENExEHJdXCTK+WDtE97d6Apo7dyFv8EFNSqsV+xtOeOOu4YgWzk+/V gaeP8IRv5Kkilz7KS9PCF20RzYfG/c3sHjSx5OShOjxffBOoLxtAH7j6jSaEL9R42KXJvRWJ/cz hoye7s9cGOi7NlLIKLt4qCrC8N69NQ+HOQuGD0W41/WkWk+aVIfSv7G/E5O1C7VtvVpJmV/sEBO HArvqMJvVTsXH7Wx8Fi3hf4WR7zmdX+rvUQGkTn6wIwNhh+AfBtJUdeTflcvFctt/bgh0gb7vRo /MS35nEL X-Proofpoint-ORIG-GUID: F8CcoH5iPPSokcYbbB7M9mXrL7Bz9ofZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-05_02,2025-09-04_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 clxscore=1015 impostorscore=0 phishscore=0 malwarescore=0 adultscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2509040163 This series depend on this patch https://lore.kernel.org/all/20250826-pakala-v2-3-74f1f60676c6@oss.qualcomm.com/ This series adds document, phy, configs support for PCIe in QCS8300. It also adds 'link_down' reset for sa8775p. Have follwing changes: - Add dedicated schema for the PCIe controllers found on QCS8300. - Add compatible for qcs8300 platform. - Add configurations in devicetree for PCIe0, including registers, clocks, interrupts and phy setting sequence. - Add configurations in devicetree for PCIe1, including registers, clocks, interrupts and phy setting sequence. Signed-off-by: Krishna chaitanya chundru Signed-off-by: Ziyue Zhang --- Changes in v12: - rebased pcie phy bindings - Link to v11: https://lore.kernel.org/all/20250826091205.3625138-1-ziyue.zhang@oss.qualcomm.com/ Changes in v11: - move phy/perst/wake to pcie bridge node (Mani) - Link to v10: https://lore.kernel.org/all/20250811071131.982983-1-ziyue.zhang@oss.qualcomm.com/ Changes in v10: - Update PHY max_items (Johan) - Link to v9: https://lore.kernel.org/all/20250725104037.4054070-1-ziyue.zhang@oss.qualcomm.com/ Changes in v9: - Fix DTB error (Vinod) - Link to v8: https://lore.kernel.org/all/20250714081529.3847385-1-ziyue.zhang@oss.qualcomm.com/ Changes in v8: - rebase sc8280xp-qmp-pcie-phy change to solve conflicts. - Add Fixes tag to phy change (Johan) - Link to v7: https://lore.kernel.org/all/20250625092539.762075-1-quic_ziyuzhan@quicinc.com/ Changes in v7: - rebase qcs8300-ride.dtsi change to solve conflicts. - Link to v6: https://lore.kernel.org/all/20250529035635.4162149-1-quic_ziyuzhan@quicinc.com/ Changes in v6: - move the qcs8300 and sa8775p phy compatibility entry into the list of PHYs that require six clocks - Update QCS8300 and sa8775p phy dt, remove aux clock. - Fixed compile error found by kernel test robot - Link to v5: https://lore.kernel.org/all/20250507031019.4080541-1-quic_ziyuzhan@quicinc.com/ Changes in v5: - Add QCOM PCIe controller version in commit msg (Mani) - Modify platform dts change subject (Dmitry) - Fixed compile error found by kernel test robot - Link to v4: https://lore.kernel.org/linux-phy/20241220055239.2744024-1-quic_ziyuzhan@quicinc.com/ Changes in v4: - Add received tag - Fixed compile error found by kernel test robot - Link to v3: https://lore.kernel.org/lkml/202412211301.bQO6vXpo-lkp@intel.com/T/#mdd63e5be39acbf879218aef91c87b12d4540e0f7 Changes in v3: - Add received tag(Rob & Dmitry) - Update pcie_phy in gcc node to soc dtsi(Dmitry & Konrad) - remove pcieprot0 node(Konrad & Mani) - Fix format comments(Konrad) - Update base-commit to tag: next-20241213(Bjorn) - Corrected of_device_id.data from 1.9.0 to 1.34.0. - Link to v2: https://lore.kernel.org/all/20241128081056.1361739-1-quic_ziyuzhan@quicinc.com/ Changes in v2: - Fix some format comments and match the style in x1e80100(Konrad) - Add global interrupt for PCIe0 and PCIe1(Konrad) - split the soc dtsi and the platform dts into two changes(Konrad) - Link to v1: https://lore.kernel.org/all/20241114095409.2682558-1-quic_ziyuzhan@quicinc.com/ Ziyue Zhang (5): dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Update pcie phy bindings for qcs8300 arm64: dts: qcom: qcs8300: enable pcie0 arm64: dts: qcom: qcs8300-ride: enable pcie0 interface arm64: dts: qcom: qcs8300: enable pcie1 arm64: dts: qcom: qcs8300-ride: enable pcie1 interface .../phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 5 +- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 84 +++++ arch/arm64/boot/dts/qcom/qcs8300.dtsi | 310 +++++++++++++++++- 3 files changed, 394 insertions(+), 5 deletions(-) base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585 -- 2.43.0