aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2025-02-21 17:52:01 +0200
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2025-02-24 18:30:07 +0000
commitd589fe0bf0c45f84db75535466dc2e02e304147f (patch)
treef928643a5b84a06ffdebfcaaaa3350c06f7fd37e
parentdt-bindings: PCI: qcom-ep: Describe optional IOMMU (diff)
downloadwireguard-linux-d589fe0bf0c45f84db75535466dc2e02e304147f.tar.xz
wireguard-linux-d589fe0bf0c45f84db75535466dc2e02e304147f.zip
dt-bindings: PCI: qcom-ep: Enable DMA for SM8450
Qualcomm SM8450 platform can (and should) be using DMA for the PCIe Endpoint transfers. Thus, extend the MMIO regions and interrupts in order to acommodate for the DMA resources, mark iommus property as required for the platform. Upstream devicetree doesn't provide support for the Endpoint mode of the PCIe controller, so while this is an ABI break, it doesn't break any of the supported platforms. Fixes: 63e445b746aa ("dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC") Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250221-sar2130p-pci-v3-3-61a0fdfb75b4@linaro.org [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml14
1 files changed, 10 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
index 607536134835..d22022ff2760 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
@@ -176,9 +176,11 @@ allOf:
then:
properties:
reg:
- maxItems: 6
+ minItems: 7
+ maxItems: 7
reg-names:
- maxItems: 6
+ minItems: 7
+ maxItems: 7
clocks:
items:
- description: PCIe Auxiliary clock
@@ -200,9 +202,13 @@ allOf:
- const: ddrss_sf_tbu
- const: aggre_noc_axi
interrupts:
- maxItems: 2
+ minItems: 3
+ maxItems: 3
interrupt-names:
- maxItems: 2
+ minItems: 3
+ maxItems: 3
+ required:
+ - iommus
- if:
properties: