Browse Source

ACPI: property: graph: Improve graph documentation for port/ep numbering

Document that if a port has a single endpoint only, its value shall be
zero. Similarly, if a device object only has a single port, its value
shlla be zero.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Sakari Ailus 7 years ago
parent
commit
e49363e96f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Documentation/acpi/dsd/graph.txt

+ 4 - 1
Documentation/acpi/dsd/graph.txt

@@ -55,7 +55,10 @@ endpoint. An example of such a package would be:
 Each port node contains a property extension key "port", the value of
 Each port node contains a property extension key "port", the value of
 which is the number of the port. Each endpoint is similarly numbered
 which is the number of the port. Each endpoint is similarly numbered
 with a property extension key "endpoint". Port numbers must be unique within a
 with a property extension key "endpoint". Port numbers must be unique within a
-device and endpoint numbers must be unique within a port.
+device and endpoint numbers must be unique within a port. If a device object
+may only has a single port, then the number of that port shall be zero.
+Similarly, if a port may only have a single endpoint, the number of that
+endpoint shall be zero.
 
 
 The endpoint reference uses property extension with "remote-endpoint" property
 The endpoint reference uses property extension with "remote-endpoint" property
 name followed by a reference in the same package. Such references consist of the
 name followed by a reference in the same package. Such references consist of the