Skip to content

Commit e6e8c6c

Browse files
jdelvarerafaeljw
authored andcommitted
ACPI: docs: enumeration: Fix a few typos and wording mistakes
"sturct" -> "struct" "similar than with" -> "similar to" Missing comma, "it" and "to" Signed-off-by: Jean Delvare <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent b90cb10 commit e6e8c6c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Documentation/firmware-guide/acpi/enumeration.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ possible we decided to do following:
2121
- Devices behind real busses where there is a connector resource
2222
are represented as struct spi_device or struct i2c_device. Note
2323
that standard UARTs are not busses so there is no struct uart_device,
24-
although some of them may be represented by sturct serdev_device.
24+
although some of them may be represented by struct serdev_device.
2525

2626
As both ACPI and Device Tree represent a tree of devices (and their
2727
resources) this implementation follows the Device Tree way as much as
@@ -205,7 +205,7 @@ Here is what the ACPI namespace for a SPI slave might look like::
205205
}
206206
...
207207

208-
The SPI device drivers only need to add ACPI IDs in a similar way than with
208+
The SPI device drivers only need to add ACPI IDs in a similar way to
209209
the platform device drivers. Below is an example where we add ACPI support
210210
to at25 SPI eeprom driver (this is meant for the above ACPI snippet)::
211211

@@ -362,7 +362,7 @@ These GPIO numbers are controller relative and path "\\_SB.PCI0.GPI0"
362362
specifies the path to the controller. In order to use these GPIOs in Linux
363363
we need to translate them to the corresponding Linux GPIO descriptors.
364364

365-
There is a standard GPIO API for that and is documented in
365+
There is a standard GPIO API for that and it is documented in
366366
Documentation/admin-guide/gpio/.
367367

368368
In the above example we can get the corresponding two GPIO descriptors with
@@ -538,8 +538,8 @@ information.
538538
PCI hierarchy representation
539539
============================
540540

541-
Sometimes could be useful to enumerate a PCI device, knowing its position on the
542-
PCI bus.
541+
Sometimes it could be useful to enumerate a PCI device, knowing its position on
542+
the PCI bus.
543543

544544
For example, some systems use PCI devices soldered directly on the mother board,
545545
in a fixed position (ethernet, Wi-Fi, serial ports, etc.). In this conditions it
@@ -550,7 +550,7 @@ To identify a PCI device, a complete hierarchical description is required, from
550550
the chipset root port to the final device, through all the intermediate
551551
bridges/switches of the board.
552552

553-
For example, let us assume to have a system with a PCIe serial port, an
553+
For example, let's assume we have a system with a PCIe serial port, an
554554
Exar XR17V3521, soldered on the main board. This UART chip also includes
555555
16 GPIOs and we want to add the property ``gpio-line-names`` [1] to these pins.
556556
In this case, the ``lspci`` output for this component is::
@@ -593,8 +593,8 @@ of the chipset bridge (also called "root port") with address::
593593

594594
Bus: 0 - Device: 14 - Function: 1
595595

596-
To find this information is necessary disassemble the BIOS ACPI tables, in
597-
particular the DSDT (see also [2])::
596+
To find this information, it is necessary to disassemble the BIOS ACPI tables,
597+
in particular the DSDT (see also [2])::
598598

599599
mkdir ~/tables/
600600
cd ~/tables/

0 commit comments

Comments
 (0)