Skip to content

Commit

Permalink
ACPI: property: graph: Improve graph documentation for port/ep numbering
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sakari Ailus authored and Rafael J. Wysocki committed Jul 23, 2018
1 parent e58b1c6 commit e49363e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/acpi/dsd/graph.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e49363e

Please sign in to comment.