mirror of https://gitee.com/openkylin/linux.git
Documentation: of: Fix grammar usage in graph bindings
Some minor tweaks to the language and formatting used in the documentation identified while I was reading up on the subject matter. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
2ea659a9ef
commit
eec43d4ca8
|
@ -34,7 +34,7 @@ remote device, an 'endpoint' child node must be provided for each link.
|
||||||
If more than one port is present in a device node or there is more than one
|
If more than one port is present in a device node or there is more than one
|
||||||
endpoint at a port, or a port node needs to be associated with a selected
|
endpoint at a port, or a port node needs to be associated with a selected
|
||||||
hardware interface, a common scheme using '#address-cells', '#size-cells'
|
hardware interface, a common scheme using '#address-cells', '#size-cells'
|
||||||
and 'reg' properties is used number the nodes.
|
and 'reg' properties is used to number the nodes.
|
||||||
|
|
||||||
device {
|
device {
|
||||||
...
|
...
|
||||||
|
@ -89,9 +89,9 @@ Links between endpoints
|
||||||
|
|
||||||
Each endpoint should contain a 'remote-endpoint' phandle property that points
|
Each endpoint should contain a 'remote-endpoint' phandle property that points
|
||||||
to the corresponding endpoint in the port of the remote device. In turn, the
|
to the corresponding endpoint in the port of the remote device. In turn, the
|
||||||
remote endpoint should contain a 'remote-endpoint' property. If it has one,
|
remote endpoint should contain a 'remote-endpoint' property. If it has one, it
|
||||||
it must not point to another than the local endpoint. Two endpoints with their
|
must not point to anything other than the local endpoint. Two endpoints with
|
||||||
'remote-endpoint' phandles pointing at each other form a link between the
|
their 'remote-endpoint' phandles pointing at each other form a link between the
|
||||||
containing ports.
|
containing ports.
|
||||||
|
|
||||||
device-1 {
|
device-1 {
|
||||||
|
@ -110,13 +110,12 @@ device-2 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
Required properties
|
Required properties
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
If there is more than one 'port' or more than one 'endpoint' node or 'reg'
|
If there is more than one 'port' or more than one 'endpoint' node or 'reg'
|
||||||
property is present in port and/or endpoint nodes the following properties
|
property present in the port and/or endpoint nodes then the following
|
||||||
are required in a relevant parent node:
|
properties are required in a relevant parent node:
|
||||||
|
|
||||||
- #address-cells : number of cells required to define port/endpoint
|
- #address-cells : number of cells required to define port/endpoint
|
||||||
identifier, should be 1.
|
identifier, should be 1.
|
||||||
|
|
Loading…
Reference in New Issue