]> git.ipfire.org Git - thirdparty/linux.git/commit
serial: 8250_platform: Enable generic 16550A platform devices
authorSunil V L <sunilvl@ventanamicro.com>
Tue, 30 Jul 2024 05:12:18 +0000 (10:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 10:35:09 +0000 (12:35 +0200)
commitd9e5a0ce2f16e57ccf2b91a213a5b434dcc1d88b
treeaeb305d83868aa6fd85caf9fd6ab242ace9e0c10
parent755ed2f3030450ee6f5c8d3a4c35345c16376771
serial: 8250_platform: Enable generic 16550A platform devices

Currently, 8250_platform driver is used only for devices with fixed
serial ports (plat_serial8250_port). Extend this driver for any generic
16550A platform devices which can be probed using standard hardware
discovery mechanisms like ACPI.

This is required in particular for RISC-V which has non-PNP generic
16550A compatible UART that needs to be enumerated as ACPI platform
device.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20240730051218.767580-1-sunilvl@ventanamicro.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_platform.c