dt-bindings: PCI: pci-ep: Add binding to specify virtual function
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 19 Aug 2021 12:33:36 +0000 (18:03 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 19 Aug 2021 13:13:28 +0000 (14:13 +0100)
Add binding to specify virtual function (associated with each physical
function) in endpoint mode.

Link: https://lore.kernel.org/r/20210819123343.1951-2-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/pci-ep.yaml

index 7847bbc..ccec51a 100644 (file)
@@ -23,6 +23,13 @@ properties:
     default: 1
     maximum: 255
 
+  max-virtual-functions:
+    description: Array representing the number of virtual functions corresponding to each physical
+      function
+    $ref: /schemas/types.yaml#/definitions/uint8-array
+    minItems: 1
+    maxItems: 255
+
   max-link-speed:
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [ 1, 2, 3, 4 ]