Is your feature request related to a problem? Please describe.
Currently, the PL011 UART driver is not very flexible. All boards that use it must use the common Kconfig options which limit you to 3 UART interfaces. All code is handled within the driver, and expects that each UART interface has its own unique interrupt.
This does not apply to the Pi4B, which has 5 PL011 UART interfaces and they all share one common interrupt handler. In order to use the PL011 driver with the Pi4B, this driver needs to be modified.
Describe the solution you'd like
Modify the PL011 UART driver so that individual boards can use the C API to:
- Register as many UARTs as they need
- Control interrupt registration
- Define their own Kconfig options for selecting active UART interfaces/options
Describe alternatives you've considered
No response
Verification
Is your feature request related to a problem? Please describe.
Currently, the PL011 UART driver is not very flexible. All boards that use it must use the common Kconfig options which limit you to 3 UART interfaces. All code is handled within the driver, and expects that each UART interface has its own unique interrupt.
This does not apply to the Pi4B, which has 5 PL011 UART interfaces and they all share one common interrupt handler. In order to use the PL011 driver with the Pi4B, this driver needs to be modified.
Describe the solution you'd like
Modify the PL011 UART driver so that individual boards can use the C API to:
Describe alternatives you've considered
No response
Verification