Lines Matching +full:port +full:- +full:number
1 .. SPDX-License-Identifier: GPL-2.0
10 _DSD (Device Specific Data) [dsd-guide] is a predefined ACPI device
14 for graphs: property [dsd-guide] and hierarchical data extensions. The
15 property extension provides generic key-value pairs whereas the
19 a tree-like structure with zero or more properties (key-value pairs)
38 The port and endpoint concepts are very similar to those in Devicetree
39 [devicetree, graph-bindings]. A port represents an interface in a device, and
40 an endpoint represents a connection to that interface. Also see [data-node-ref]
43 All port nodes are located under the device's "_DSD" node in the hierarchical
44 data extension tree. The data extension related to each port node must begin
45 with "port" and must be followed by the "@" character and the number of the
46 port as its key. The target object it refers to should be called "PRTX", where
47 "X" is the number of the port. An example of such a package would be::
49 Package() { "port@4", "PRT4" }
51 Further on, endpoints are located under the port nodes. The hierarchical
53 "endpoint" and must be followed by the "@" character and the number of the
55 number of the port and "Y" is the number of the endpoint. An example of such a
60 Each port node contains a property extension key "port", the value of which is
61 the number of the port. Each endpoint is similarly numbered with a property
62 extension key "reg", the value of which is the number of the endpoint. Port
64 within a port. If a device object may only has a single port, then the number
65 of that port shall be zero. Similarly, if a port may only have a single
66 endpoint, the number of that endpoint shall be zero.
68 The endpoint reference uses property extension with "remote-endpoint" property
69 name followed by a string reference in the same package. [data-node-ref]::
73 In the above example, "X" is the number of the port and "Y" is the number of
86 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
90 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
92 Package () { "port@0", "PRT0" },
96 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
100 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
106 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
109 Package () { "remote-endpoint", "\\_SB.PCI0.ISP.EP40" },
120 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
122 Package () { "port@4", "PRT4" },
127 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
129 Package () { "reg", 4 }, /* CSI-2 port number */
131 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
138 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
141 Package () { "remote-endpoint", "\\_SB.PCI0.I2C2.CAM0.EP00" },
147 Here, the port 0 of the "CAM0" device is connected to the port 4 of
155 https://uefi.org/specifications/ACPI/6.4/, referenced 2021-11-30.
157 [data-node-ref] Documentation/firmware-guide/acpi/dsd/data-node-references.rst
159 [devicetree] Devicetree. https://www.devicetree.org, referenced 2016-10-03.
161 [dsd-guide] DSD Guide.
162 https://github.com/UEFI/DSD-Guide/blob/main/dsd-guide.adoc, referenced
163 2021-11-30.
165 [dsd-rules] _DSD Device Properties Usage Rules.
166 Documentation/firmware-guide/acpi/DSD-properties-rules.rst
168 [graph-bindings] Common bindings for device graphs (Devicetree).
169 https://github.com/devicetree-org/dt-schema/blob/main/schemas/graph.yaml,
170 referenced 2021-11-30.