Skip to content

[FEATURE] Re-usable PL011 UART driver #18836

@linguini1

Description

@linguini1

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

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Task.

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions