Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: dt: fix grammar and spelling

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Markus Heidelberg and committed by
Rob Herring (Arm)
86eedc66 a036bb0e

+8 -8
+2 -2
Documentation/devicetree/of_unittest.rst
··· 56 56 57 57 for the Device Tree Source Include files (.dtsi) included in testcases.dts. 58 58 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 60 60 rule:: 61 61 62 62 $(obj)/%.dtb: $(src)/%.dts FORCE ··· 133 133 __dtb_testcases_end - address marking the end of test data blob 134 134 135 135 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, 137 137 then it attaches the unflattened test data tree to the live tree, else it 138 138 attaches itself as a live device tree. 139 139
+3 -3
Documentation/devicetree/overlay-notes.rst
··· 14 14 A Devicetree's overlay purpose is to modify the kernel's live tree, and 15 15 have the modification affecting the state of the kernel in a way that 16 16 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 18 18 in an active device should have it created while if the device node is either 19 19 disabled or removed all together, the affected device should be deregistered. 20 20 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:: 22 22 23 23 ---- foo.dts --------------------------------------------------------------- 24 24 /* FOO platform */ ··· 111 111 1) Call of_overlay_fdt_apply() to create and apply an overlay changeset. The 112 112 return value is an error or a cookie identifying this overlay. 113 113 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 115 115 previously created via the call to of_overlay_fdt_apply(). Removal of an 116 116 overlay changeset that is stacked by another will not be permitted. 117 117
+3 -3
Documentation/devicetree/usage-model.rst
··· 46 46 communication method for passing data from Open Firmware to a client 47 47 program (like to an operating system). An operating system used the 48 48 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 50 50 information (assuming drivers were available for all devices). 51 51 52 52 Since Open Firmware is commonly used on PowerPC and SPARC platforms, ··· 128 128 compatible = "ti,omap3-beagleboard-xm", "ti,omap3450", "ti,omap3"; 129 129 130 130 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 132 132 of SoCs in general. You'll notice that the list is sorted from most 133 133 specific (exact board) to least specific (SoC family). 134 134 ··· 205 205 206 206 During early boot, the architecture setup code calls of_scan_flat_dt() 207 207 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 209 209 the device tree and uses the helpers to extract information required 210 210 during early boot. Typically the early_init_dt_scan_chosen() helper 211 211 is used to parse the chosen node including kernel parameters,