Skip to content

Commit 86eedc6

Browse files
marcowsrobherring
authored andcommitted
docs: dt: fix grammar and spelling
Signed-off-by: Markus Heidelberg <[email protected]> Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent a036bb0 commit 86eedc6

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

Documentation/devicetree/of_unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ drivers/of/unittest.c. See the content of the folder::
5656

5757
for the Device Tree Source Include files (.dtsi) included in testcases.dts.
5858

59-
When the kernel is build with CONFIG_OF_UNITTEST enabled, then the following make
59+
When the kernel is built with CONFIG_OF_UNITTEST enabled, then the following make
6060
rule::
6161

6262
$(obj)/%.dtb: $(src)/%.dts FORCE
@@ -133,7 +133,7 @@ via the following kernel symbols::
133133
__dtb_testcases_end - address marking the end of test data blob
134134

135135
Secondly, it calls of_fdt_unflatten_tree() to unflatten the flattened
136-
blob. And finally, if the machine's device tree (i.e live tree) is present,
136+
blob. And finally, if the machine's device tree (i.e. live tree) is present,
137137
then it attaches the unflattened test data tree to the live tree, else it
138138
attaches itself as a live device tree.
139139

Documentation/devicetree/overlay-notes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ How overlays work
1414
A Devicetree's overlay purpose is to modify the kernel's live tree, and
1515
have the modification affecting the state of the kernel in a way that
1616
is reflecting the changes.
17-
Since the kernel mainly deals with devices, any new device node that result
17+
Since the kernel mainly deals with devices, any new device node that results
1818
in an active device should have it created while if the device node is either
1919
disabled or removed all together, the affected device should be deregistered.
2020

21-
Lets take an example where we have a foo board with the following base tree::
21+
Let's take an example where we have a foo board with the following base tree::
2222

2323
---- foo.dts ---------------------------------------------------------------
2424
/* FOO platform */
@@ -111,7 +111,7 @@ The API is quite easy to use.
111111
1) Call of_overlay_fdt_apply() to create and apply an overlay changeset. The
112112
return value is an error or a cookie identifying this overlay.
113113

114-
2) Call of_overlay_remove() to remove and cleanup the overlay changeset
114+
2) Call of_overlay_remove() to remove and clean up the overlay changeset
115115
previously created via the call to of_overlay_fdt_apply(). Removal of an
116116
overlay changeset that is stacked by another will not be permitted.
117117

Documentation/devicetree/usage-model.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The DT was originally created by Open Firmware as part of the
4646
communication method for passing data from Open Firmware to a client
4747
program (like to an operating system). An operating system used the
4848
Device Tree to discover the topology of the hardware at runtime, and
49-
thereby support a majority of available hardware without hard coded
49+
thereby supported a majority of available hardware without hard coded
5050
information (assuming drivers were available for all devices).
5151

5252
Since Open Firmware is commonly used on PowerPC and SPARC platforms,
@@ -128,7 +128,7 @@ successor, the BeagleBoard xM board might look like, respectively::
128128
compatible = "ti,omap3-beagleboard-xm", "ti,omap3450", "ti,omap3";
129129

130130
Where "ti,omap3-beagleboard-xm" specifies the exact model, it also
131-
claims that it compatible with the OMAP 3450 SoC, and the omap3 family
131+
claims that it is compatible with the OMAP 3450 SoC, and the omap3 family
132132
of SoCs in general. You'll notice that the list is sorted from most
133133
specific (exact board) to least specific (SoC family).
134134

@@ -205,7 +205,7 @@ platform-specific configuration data.
205205

206206
During early boot, the architecture setup code calls of_scan_flat_dt()
207207
several times with different helper callbacks to parse device tree
208-
data before paging is setup. The of_scan_flat_dt() code scans through
208+
data before paging is set up. The of_scan_flat_dt() code scans through
209209
the device tree and uses the helpers to extract information required
210210
during early boot. Typically the early_init_dt_scan_chosen() helper
211211
is used to parse the chosen node including kernel parameters,

0 commit comments

Comments
 (0)