dt-bindings: PCI: snps,dw-pcie-ep: Add vendor specific reg-name
authorNiklas Cassel <cassel@kernel.org>
Fri, 7 Jun 2024 11:14:21 +0000 (13:14 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Fri, 21 Jun 2024 18:48:18 +0000 (18:48 +0000)
Considering that some drivers (e.g. pcie-dw-rockchip.c) already use the
reg-name "apb" for the device tree binding in Root Complex mode
(snps,dw-pcie.yaml), it doesn't make sense that those drivers should use a
different reg-name when running in Endpoint mode (snps,dw-pcie-ep.yaml).

Therefore, since "apb" is already defined in snps,dw-pcie.yaml, add it
also for snps,dw-pcie-ep.yaml.

Link: https://lore.kernel.org/linux-pci/20240607-rockchip-pcie-ep-v1-v5-1-0a042d6b0049@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml

index bbdb01d2284838c1f47c73b195c1b533b9f5f8e2..00dec01f1f73647272dbb3d318e0aca127d4aca8 100644 (file)
@@ -100,7 +100,7 @@ properties:
             for new bindings.
           oneOf:
             - description: See native 'elbi/app' CSR region for details.
-              enum: [ link, appl ]
+              enum: [ apb, link, appl ]
             - description: See native 'atu' CSR region for details.
               enum: [ atu_dma ]
     allOf: