[PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Copy the 'num-viewport' property from snps,dw-pcie-common.yaml to
fsl,layerscape-pcie.yaml to address the below warning. This is necessary
due to historical reasons where fsl,layerscape-pcie.yaml does not
directly reference snps,dw-pcie-common.yaml.

/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)

Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
 .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml      | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
index 2f79551f6083c..ea7aa8c83a553 100644
--- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
@@ -71,6 +71,14 @@ properties:
     minItems: 1
     maxItems: 2

+  num-viewport:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    deprecated: true
+    description:
+      Number of outbound view ports configured in hardware. It's the same as
+      the number of outbound AT windows.
+    maximum: 256
+
 required:
   - compatible
   - reg
--
2.34.1





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux