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 04E1649159B for ; Mon, 21 Sep 2026 10:58:32 +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=1789988314; cv=none; b=lwhfVCQ2gMPLEb+q6UqpYqk7W9lA2Xfyw/wrPJsCgUeXsOg8fxrdBYK09dl+56+H5k17FsipNpuxSYts5iOsHTinsuWIH5+aPxdvw7PArPzlar/996twGr5qLvaRi60YamHNSgHk4y3CZR7CQCimLCAFwwCKgkQZtddMWHTETNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789988314; c=relaxed/simple; bh=peVqRNezccL7XCLjXAEvt4zPOCLA8KyAaMpzFXvC9Bk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ptDGfPxtmbH3pWVU/GBHYnRQTdAe4YIb2lnaDMy3AHrg/ZCSZ8c6K86CAiZP+BBlVizMsUkDxZ98Dl4UOqY1QMYTNIY9pJEEjGI+0b7vXPiFVuvZHPskR8a8cDXS8UYGNgGMunZNsqOeBnb9kyllfvh5/TP70KdjZRRoaqMZpZw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=UjUuvhP+; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=QEWImqsW; 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=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="UjUuvhP+"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="QEWImqsW" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68LAdu04287294 for ; Mon, 21 Sep 2026 10:58:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=JPpwA4CKVsWowfWLA8IiUg S5i1q1YmC4GCe/GawbpzM=; b=UjUuvhP+afkcbhGiOqqkSP2ufcdIX/K7rSlX6Z RHMaHbTHjT0t1BOYcar9AL8gHNzAyckAHe9TihdEK6MIp+qQPHVuc6hvtiRDSoJF NmCp4ddDC1XqWAkBD8KFuoiPvl5xhYcXo9rfxd0vn0YOh/IWxVem16HkxzCCLYj9 flJ8+XBjuShXkIbskmJqANZPld5p4ZK2x4zIi5JgWI3zWZLm3Y9XRMTAuuRGzs// I7M5SM4CreAj7OB4N+BXc2pMs6of3Gzvxc1qKUKiEzS95xO+oPsn6fb8nCdsxR9+ FDw4SqhEo1/AxMlBpz0T7b/bWyhK6P8tws8rmqVsmX3PtfMw== Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gu0rj0q38-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 21 Sep 2026 10:58:31 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-862a0aa7d2aso4634667b3a.1 for ; Mon, 21 Sep 2026 03:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789988311; x=1790593111; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=JPpwA4CKVsWowfWLA8IiUgS5i1q1YmC4GCe/GawbpzM=; b=QEWImqsWsK884t99sEE0mBYuGptIxIZmNuseb1dJWKOGNT5mYD3pAr9Vym+WdQUaqV 6pawCC28FtVaitN9qcjFGIw3SUrwV3yURnVhplumZD7Q6vn0TRSvjBHcb2Ux/e7VQ8zl +Qn7Yefelb04Mss2DcIoSJL+5i/g0iKUt/aj+TqsIViP+pQPYpBDV5fxbH5w8BzBmAoV bhfmg7UQ4fK/gbFgBSOHEdB+667y4GH6SIlrdoUgKYyJ18c3VWYSxDg9ne838cwJoma8 pvKniZsVdOMraDEwvMQBNEBeJRxFF8fuIyPDxv/S8RiWacvaVAGoP+RB5V6Iixvpb3qX wiXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789988311; x=1790593111; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=JPpwA4CKVsWowfWLA8IiUgS5i1q1YmC4GCe/GawbpzM=; b=1MgnPJhQw7gBk2n/HQuFWv/99PQB9eobLLlb48vsDM57GuJroG9efa+SmxN3/YU/7M ini0TMi7rF54eKUwtNl86yQljHmgnnuV/wjEVNbZOmODqYU5taWPHgEkiSAd/IO7/pQX M2g/4sTsSniOsFkNDtCQrbADhq82W4U6A4T/JqUEKJ33KmFVlXZOasd4zneaIBQMOnCq qnd+VH7EN2+xIEp/dJlOvI2c0a6mPocYe7EtwmyDRJf2zOgkHwIdMjSCFtksZP1KvtGJ sQB9ByHNePYoQqVsGukIvcqtMk/gLoj50FVb4zeTcUuMZSJCfXIKKJpcLvCQVs7husml N9Nw== X-Forwarded-Encrypted: i=1; AKwUvBycsjnGGdV0JmRHVZT0VH7g5UbqnbQqpS0lZr5hTNk87fUu5cRHZt8b2bptANk5IG4MOsHGI4v9ZALHvyI=@vger.kernel.org X-Gm-Message-State: AFuF++ne0lptmChYDWgwkCH3ly0vXJgggq/JLs7t9JcDQB4/sIkQc40m dIw0Ko87riQ7mKLSMHikzjkc5Xv5f0g5Hcc7w39eBZc+s2wyhXFpMt2k0a/HRnhXuW9uFWWCUWk ma+JhIMPsqSaKKIf4qSY7F+CvtCvWtxd6XmKUm6CbieN+Le5vJSb+O4O42FwjN8e54K5ExGqsqz g= X-Gm-Gg: AYBFou2rtZ/pepirOkJb1XumG1n0Y6yApcehpiOuFte91UrdOVBkmRn9cjAR1q0fCaC aWIGmDWsNZxEBTGY3ETCaq8Tv6QKliNJ+TqUp++uIEkagc/J7BfYRJ7XOKvdLG10SmudIkQFNY5 ZETPThIjFk9qH/QtPefJpPDH3bKZR1F68VEc10Au5sKhdSL6OOOAUdZpT818PKPZOl4RnHeuYuY QRXU3iAqfUU8xnVoifoR5jhMzq9beJpiOykNVsLMD1TQM4dx9tEtMM5fst74d4p5ZEJQYrgSo6N GQN7Idiyfxdfek9vUoVYy8foGUNiu7nul77dBrMSGyEk0kBPbHQAKmYc4VcKeteEpxo2+C0YaGd qwEJC4tJPXOm100gExgMDi6HJshxobc8Xtg== X-Received: by 2002:a05:6a21:e8b:b0:3d3:ae40:51e3 with SMTP id adf61e73a8af0-3dd8c53b507mr14688672637.23.1789988310692; Mon, 21 Sep 2026 03:58:30 -0700 (PDT) X-Received: by 2002:a05:6a21:e8b:b0:3d3:ae40:51e3 with SMTP id adf61e73a8af0-3dd8c53b507mr14688644637.23.1789988310229; Mon, 21 Sep 2026 03:58:30 -0700 (PDT) Received: from hu-krichai-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33c331d55cfsm23544128eec.30.2026.09.21.03.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2026 03:58:29 -0700 (PDT) From: Krishna Chaitanya Chundru Subject: [PATCH 0/6] PCI: qcom-ep: Add PCIe Endpoint support for Monaco Date: Mon, 21 Sep 2026 16:28:11 +0530 Message-Id: <20260921-monaco_ep-v1-0-63c5282fb0db@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMMNsWoC/yXM0QpAMBSA4VfRubbaJOFVJM1xxlE2bUjJuxsuv /r7LwjkmQLUyQWeDg7sbIRKE8BJ25EED9GQyayQlSrF4qxG19EqTK9yo80gCRFiv3oyfH6vpv0 d9n4m3N4B3PcDBnaa920AAAA= X-Change-ID: 20260918-monaco_ep-fb14fafd0ecc To: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Krishna Chaitanya Chundru X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789988304; l=2427; i=krishna.chundru@oss.qualcomm.com; s=20230907; h=from:subject:message-id; bh=peVqRNezccL7XCLjXAEvt4zPOCLA8KyAaMpzFXvC9Bk=; b=2j+QB7Yy6u1A0kRk0gX0z2/49ykQ8g6PYURbir7tJ/F3c9vl0NRtyLJuDHkaNoZAjuUV7kxfh fdg+mSGQVK8A5uVGyHf48EsrBVwPdUfECFD6Tcn9Giqwxde1MM3LjN+ X-Developer-Key: i=krishna.chundru@oss.qualcomm.com; a=ed25519; pk=10CL2pdAKFyzyOHb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otmnFj6aP7sMQTt9Y10LQ1zx WHXzgFP6ap7ebWlmYlA== X-Proofpoint-ORIG-GUID: fRWqvKAsAlh9tRtfWDHXvuT65-MQk_x0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-21_04,2026-09-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 malwarescore=0 suspectscore=0 clxscore=1015 impostorscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609210157 This series adds PCIe Endpoint mode support for the Monaco (QCS8300) SoC, which has two PCIe controllers capable of operating as Endpoints. - Patch 1 documents the dedicated 16 GT/s x4 QMP PCIe PHY compatible for QCS8300, correcting an earlier gap where this PHY variant had no QCS8300-specific compatible of its own. - Patch 2 documents the QCS8300 compatible for the PCIe Endpoint controller binding, with SA8775P as its fallback. - Patch 3 adds the corresponding Endpoint PHY register configuration to the QMP PCIe PHY driver, reusing the existing SA8775P programming for the 16 GT/s x2 PHY and adding a new configuration for the 16 GT/s x4 PHY. - Patch 4 fixes clock-enable ordering in the qcom-ep controller driver: some platforms require the interconnect bandwidth vote to be set before enabling clocks, otherwise certain clocks can get stuck off. - Patch 5 fixes the existing pcie1_phy node's compatible string to list the new QCS8300-specific compatible first, ahead of the SA8775P fallback, matching the order used elsewhere in this series. - Patch 6 adds the Endpoint device tree nodes for both Monaco PCIe controllers, covering register regions, clocks, interrupts, interconnects, IOMMU mappings, resets, power domains, and PHY connections. Signed-off-by: Krishna Chaitanya Chundru --- Krishna Chaitanya Chundru (6): dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add qcs8300 16 GT/s PHY dt-bindings: PCI: qcom-ep: Add QCS8300 compatible phy: qcom: qmp-pcie: Add endpoint PHY configuration for QCS8300 PCI: qcom-ep: Set initial interconnect bandwidth before enabling clocks arm64: qcom: monaco: Fix pcie1_phy compatible to list qcs8300 first arm64: qcom: monaco: Add PCIe Endpoint nodes .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 5 + .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 87 ++++++------ arch/arm64/boot/dts/qcom/monaco.dtsi | 147 ++++++++++++++++++++- drivers/pci/controller/dwc/pcie-qcom-ep.c | 34 ++--- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 105 +++++++++++++++ 5 files changed, 319 insertions(+), 59 deletions(-) --- base-commit: feaece109e78a40818d20528ffaa95d2f22227a9 change-id: 20260918-monaco_ep-fb14fafd0ecc Best regards, -- Krishna Chaitanya Chundru