]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ACPI: property: graph: Improve graph documentation for port/ep numbering
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 17 Jul 2018 14:19:20 +0000 (17:19 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Jul 2018 10:44:52 +0000 (12:44 +0200)
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>
Documentation/acpi/dsd/graph.txt

index 0b007fceda0e0139fbf93cdf1bca3aadd24cba38..3131f457882b4dd4e948200b2dfc8cb928dbc08d 100644 (file)
@@ -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
 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
-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
 name followed by a reference in the same package. Such references consist of the