Skip to content

Commit d72f06c

Browse files
andy-shevrafaeljw
authored andcommitted
ACPI: docs: enumeration: Update UART serial bus resource documentation
In some cases UART serial bus resource may be represented by struct serdev_device. Fixes: 53c7626 ("serdev: Add ACPI support") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent b625fe6 commit d72f06c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Documentation/firmware-guide/acpi/enumeration.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ possible we decided to do following:
1919
platform devices.
2020

2121
- Devices behind real busses where there is a connector resource
22-
are represented as struct spi_device or struct i2c_device
23-
(standard UARTs are not busses so there is no struct uart_device).
22+
are represented as struct spi_device or struct i2c_device. Note
23+
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.
2425

2526
As both ACPI and Device Tree represent a tree of devices (and their
2627
resources) this implementation follows the Device Tree way as much as
2728
possible.
2829

29-
The ACPI implementation enumerates devices behind busses (platform, SPI and
30-
I2C), creates the physical devices and binds them to their ACPI handle in
31-
the ACPI namespace.
30+
The ACPI implementation enumerates devices behind busses (platform, SPI,
31+
I2C, and in some cases UART), creates the physical devices and binds them
32+
to their ACPI handle in the ACPI namespace.
3233

3334
This means that when ACPI_HANDLE(dev) returns non-NULL the device was
3435
enumerated from ACPI namespace. This handle can be used to extract other

0 commit comments

Comments
 (0)