From nobody Sat Feb 7 03:40:53 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 C1F5F2F6561 for ; Wed, 3 Dec 2025 13:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764768426; cv=none; b=aFBoVuhzj8lPV1m6tA7I9N2wvFI6r7ug/L/pJDgXSVV322h/FLpZJvNMYUx4WrWWOJKkJsSQHwP0ooZdMVjbyazk0DUpl3Tted0IQN9bgUg3flCQorWA0WB5H2GtRZIj6ZDYuJNebx9BYnSetg69bxmy8O+dGT0nI6Wnj4fH0Xc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764768426; c=relaxed/simple; bh=NNc36LsdP5Sf/Sh+P4pWzTOufULJNwh9nH+aJTkV9xI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aINOUyKFN1g9AIpP22Q2n98w5Qq6c2VMBJ9SKk9BVoNS2hFG/5evT871KGDDNIlYfSLghvMgrTNro611q/l1FxNDM4LvNp3iS2tHLOG2lRJjwrcP8XrIb+UXWiFF59bEPTqV6lI/e4qtEsrLlkz0QQUM8/8Prwq6N3fY1Vebkss= 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=YP+XQAqv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GJ6wWlCW; arc=none smtp.client-ip=205.220.168.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="YP+XQAqv"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GJ6wWlCW" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B3BRftV1968926 for ; Wed, 3 Dec 2025 13:27:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= uDy47w3xn9wW2ymSLV4Sfp6HrTahu+PFDgo9mndL1mY=; b=YP+XQAqvXEA1rH+j emM22xJOI4e56QeP6OcxQ50pf3fZCs9bw/4bbS2uQde+DcaMsOzz3lrTlDBBORu+ AA9/hlsjvlkWwgzAJeZWdMAh/ZtMOmuCco2SP/M0qaVoRkuMDhjAy1aM2Pq1cbbF 7XeBjBpIDnEonF4hermbf1+EhtrbGJuB4As5XuqBR88cMaracqMb1wfZyhsqrv1x QtaGzKr1cAjAXkPATbq1FUxjOJl81K9dmEUZg6DC9CWot8vXfLmsu+Wn3cD+kez8 yvfedu06X4QQEOjXAIeqr6prF72Pr2G61W1AcxJ8g8gJJs5DwjbRNMU53Uj86xLh z888fw== 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 4atmbtg965-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 03 Dec 2025 13:27:03 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-7bad1cef9bcso11500191b3a.1 for ; Wed, 03 Dec 2025 05:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1764768423; x=1765373223; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uDy47w3xn9wW2ymSLV4Sfp6HrTahu+PFDgo9mndL1mY=; b=GJ6wWlCWjJ5mvPwVRCWofDMHJKC+o6eef2XJSv0BJH/JLLv9JApo+IIaFg3i53Sj+9 ETGk9NUpIxYzmrzI3v/AleP55T7010hV8iN1DrvpZY9yxvW1vMExHPrwQhZzu7Ql+DGs hXwW2saadCze8Se9BTm3gFZUC2glKRNCPFx+3D9WnJVFZq2wzNU3wRFameh8yRNTvDE7 Dd04NWXpGbMOwO8yOU4Kf1er8KrOcrcCcfjQHGtiq3YgSgBSbjSpvsZJ8ca56u4hX7QU 4KPUam7qUiPRnCCC7URNOrUQDxBgsZVTr+KZiFma2M7Pm26ravOQw3eICOHpTCZPMw8v XZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764768423; x=1765373223; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=uDy47w3xn9wW2ymSLV4Sfp6HrTahu+PFDgo9mndL1mY=; b=To2l0fe/LbEPQ1FF6BPUrB5vlQ0Gq/LPgw3RJNVK/LCWUgUJVEW57SLFu14V4O0ZIE 7OK4kuxmuskJdp0+YU7cJj1hnRvspKqMhNLbdV5eJDC42JeNl9XdpB8uPzEYjqN19aRB WR0s/lFw5ga8I3qykxl58O2tKI8/7qNnao0/Sn4TXfniPoZmxT7vN2s6uuVJIU3B/Ytf doK24aqCuR0XVH2gt5YYh6IJta1jbwXekMobhaggg6ydH+3DSL1IBvItPGyK8QFSMiXX MSDqfrPOQ9MizhjNvvvPDavrEILLxTtwdHoPWJpfkHLy6oQV4chykQCnbDlGsx7HnHzR U99w== X-Forwarded-Encrypted: i=1; AJvYcCWeXIMjhoPjO1Od1ZXbvy333PckdE5NLZEnIP9czRCh4JjMivRYJfeWL66uGhuw8l2VjgH1yXb4IslEygU=@vger.kernel.org X-Gm-Message-State: AOJu0YzmGUyf+vztsmy3rxPg/PjIS9Sj9aa6cAOvRlxRFeaOz2DM+cLI A8XpTlYVBgWWwA6HY/lioYxx7lJtysO/dKO9fj3De3rl6kHBu7FGnclocZDsmoYCDPCKPTMSLOL 0KeJTwpZTMM6oQj6wpKk8C6CEc4fjqmf8siG2bsPF2KILNQytrqZuRPQEgT8NaGQtFS0= X-Gm-Gg: ASbGnctXJIR9KISElZ5i6B9xAcqwNZi5e4Ilc5dV7i6bu/ONNfOEFe1SNjF9iSgBqR4 UtfCLB1HxvVvM6pXUBAf7yQMQcUERZerzrYXsn/+eDKnMxBDphUHoKz1OCwQpToh1nbE2+Gruhb UfuoP3HwHiXSBpvtzMMxTIJ9Ijgk48AYr1YheIja5DjxHf4EQiyLNYvXF0CVPY5JwR+3m3SQ93D W4qUVq+LwuTM0NNrUy4Q1iz81VQrQickKvyCJyGASb2oEaPNAcqHXL22E1ZGf1nIflPxjNe5/KF EDdSqG07V/cVgfEWjZiIAGR+gZocxPgWgM57iJdheWZMNO5wu1ULcnal/XYzI70y3C0hHyBXlPG lJjTY2hLNthjtO/txBQN+xLERt0NSjXAifn4AUA1ZPiU= X-Received: by 2002:a05:6a00:3997:b0:7ae:fea:e928 with SMTP id d2e1a72fcca58-7e00d9f1159mr2905644b3a.18.1764768423096; Wed, 03 Dec 2025 05:27:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3XWwRERuATrIUZCSdcB+/sIIpWZxxTyj2tL66l6kLmoEFxK0f5zm0a6z6wxREpXe72xyS6Q== X-Received: by 2002:a05:6a00:3997:b0:7ae:fea:e928 with SMTP id d2e1a72fcca58-7e00d9f1159mr2905595b3a.18.1764768422586; Wed, 03 Dec 2025 05:27:02 -0800 (PST) Received: from hu-msarkar-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7d15e6e6e06sm20287524b3a.43.2025.12.03.05.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Dec 2025 05:27:02 -0800 (PST) From: Mrinmay Sarkar Date: Wed, 03 Dec 2025 18:56:47 +0530 Subject: [PATCH 1/2] dt-bindings: PCI: qcom,pcie-ep-sa8255p: Document firmware managed PCIe endpoint 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: quoted-printable Message-Id: <20251203-firmware_managed_ep-v1-1-295977600fa5@oss.qualcomm.com> References: <20251203-firmware_managed_ep-v1-0-295977600fa5@oss.qualcomm.com> In-Reply-To: <20251203-firmware_managed_ep-v1-0-295977600fa5@oss.qualcomm.com> To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com, Manivannan Sadhasivam , Krishna Chaitanya Chundru , quic_vbadigan@quicinc.com, quic_shazhuss@quicinc.com, konrad.dybcio@oss.qualcomm.com, Mrinmay sarkar , Rama Krishna , Ayiluri Naga Rashmi , Nitesh Gupta X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1764768410; l=3940; i=mrinmay.sarkar@oss.qualcomm.com; s=20250423; h=from:subject:message-id; bh=NNc36LsdP5Sf/Sh+P4pWzTOufULJNwh9nH+aJTkV9xI=; b=HiCJ3Fl8IFEM+UrqtTkUmEmPs9kOd1R/nCNE9OLGPFWL3jjEBxeLf5lQThy+R7ZRcRJF+nfon Dor8rwhGev1D/1cg2Z0p/PMG6QGxvOxQM8ZnIoqY0Z0HpVEDRyZursA X-Developer-Key: i=mrinmay.sarkar@oss.qualcomm.com; a=ed25519; pk=5D8s0BEkJAotPyAnJ6/qmJBFhCjti/zUi2OMYoferv4= X-Authority-Analysis: v=2.4 cv=KNBXzVFo c=1 sm=1 tr=0 ts=69303aa7 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=avnAaoOVoNrTWVjlPhgA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: Cb_CsXKRmpshmcunawLSgT8h5YOxsgcA X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjAzMDEwNyBTYWx0ZWRfXzEGCG36DnytY nNgaDPaddRMHT6oz3k+6VthEDaln7SxZdn8tUKGMHvKCsO/LPndt1KxCk7Orb5lS8RJNUdmcjpW GeVb5SURYm4Js2wW/9od62cbRcC3mWOuff94rp1N4D3cb7XRK3qQLzNQ/a4tTsvRd9SGH+iubdG B8QeqTXSqp3GZ3Tf4a38uyrkQyOnE8bnKh82/O8LNpfBbCc5ETY8YBHO8XjMjl6hxUWaf4AYclb kO5iJMgzOVh46/6H2f1/RcJdtwssGrFTAL9PEhAYAJ1DywtL4HmsLAu+gCw03+K2JSvsKLaT4CE yoqUS2v2UErpXlVah84wb3/q6If+xLdzfxfYOZKGXd/T5TbOeUlqtV3hkv808xIJYw0C82mrELS U5hgMCfqew5fEoL9CjYMF/d2rVmweA== X-Proofpoint-ORIG-GUID: Cb_CsXKRmpshmcunawLSgT8h5YOxsgcA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-03_01,2025-11-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 phishscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512030107 Document the required configuration to enable the PCIe Endpoint controller on SA8255p which is managed by firmware using power-domain based handling. Signed-off-by: Mrinmay Sarkar --- .../bindings/pci/qcom,pcie-ep-sa8255p.yaml | 114 +++++++++++++++++= ++++ 1 file changed, 114 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep-sa8255p.yam= l b/Documentation/devicetree/bindings/pci/qcom,pcie-ep-sa8255p.yaml new file mode 100644 index 0000000000000000000000000000000000000000..970f65d46c8e2fa4c44665cb7a3= 46dea1dc9e06a --- /dev/null +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep-sa8255p.yaml @@ -0,0 +1,114 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/qcom,pcie-ep-sa8255p.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm firmware managed PCIe Endpoint Controller + +description: + Qualcomm SA8255p SoC PCIe endpoint controller is based on the Synopsys + DesignWare PCIe IP which is managed by firmware. + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: qcom,sa8255p-pcie-ep + + reg: + minItems: 6 + items: + - description: Qualcomm-specific PARF configuration registers + - description: DesignWare PCIe registers + - description: External local bus interface registers + - description: Address Translation Unit (ATU) registers + - description: Memory region used to map remote RC address space + - description: BAR memory region + - description: DMA register space + + reg-names: + minItems: 6 + items: + - const: parf + - const: dbi + - const: elbi + - const: atu + - const: addr_space + - const: mmio + - const: dma + + interrupts: + minItems: 2 + items: + - description: PCIe Global interrupt + - description: PCIe Doorbell interrupt + - description: DMA interrupt + + interrupt-names: + minItems: 2 + items: + - const: global + - const: doorbell + - const: dma + + iommus: + maxItems: 1 + + reset-gpios: + description: GPIO used as PERST# input signal + maxItems: 1 + + wake-gpios: + description: GPIO used as WAKE# output signal + maxItems: 1 + + power-domains: + maxItems: 1 + + dma-coherent: true + + num-lanes: + default: 2 + +required: + - compatible + - reg + - reg-names + - interrupts + - interrupt-names + - reset-gpios + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + pcie1_ep: pcie-ep@1c10000 { + compatible =3D "qcom,sa8255p-pcie-ep"; + reg =3D <0x0 0x01c10000 0x0 0x3000>, + <0x0 0x60000000 0x0 0xf20>, + <0x0 0x60000f20 0x0 0xa8>, + <0x0 0x60001000 0x0 0x4000>, + <0x0 0x60200000 0x0 0x100000>, + <0x0 0x01c13000 0x0 0x1000>, + <0x0 0x60005000 0x0 0x2000>; + reg-names =3D "parf", "dbi", "elbi", "atu", "addr_space", "mmi= o", "dma"; + interrupts =3D , + , + ; + interrupt-names =3D "global", "doorbell", "dma"; + reset-gpios =3D <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 5 GPIO_ACTIVE_LOW>; + dma-coherent; + iommus =3D <&pcie_smmu 0x80 0x7f>; + power-domains =3D <&scmi6_pd 1>; + num-lanes =3D <4>; + }; + }; --=20 2.25.1