From e49363e96fd2ee3fd5259fd2a6f9050cb4af82c8 Mon Sep 17 00:00:00 2001 From: Sakari Ailus Date: Tue, 17 Jul 2018 17:19:20 +0300 Subject: 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 Signed-off-by: Rafael J. Wysocki --- Documentation/acpi/dsd/graph.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Documentation/acpi') diff --git a/Documentation/acpi/dsd/graph.txt b/Documentation/acpi/dsd/graph.txt index 0b007fceda0e..3131f457882b 100644 --- a/Documentation/acpi/dsd/graph.txt +++ b/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 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 -- cgit v1.2.3-55-g7522