[PATCH v4 0/2] 8250: Add driver for Broadcom UART

From: Al Cooper
Date: Mon Mar 08 2021 - 12:06:12 EST


v5 - Changes based on requests from Greg Kroah-Hartman
- Move sysfs stats to debugfs.
- Merge the .h file into the .c file.
- Convert "flags" with only one flag to bool
- Remove most dev_dbg() messages. Some can be replaced by using
ftrace and some would cause a crash if the driver was used
for the console.

v4 - Fix MAINTAINERS
- Make all changes requested by Jira Slaby. The only functional
change was to handle errors returned by brcmuart_arbitration()
in brcmuart_resume().

v3 - remove "disable_dma" module param because it can be done
by modifying the device tree node instead. Reduce size by
removing some debug fuctionality that was no longer used.
- Fix error from yaml compiler in bindings

v2 - remove the patch that modified 8250_of.c to keep it from
registering before this driver when this driver was deferred
as it was getting it's "clocks". This was fixed by changing
the Device Tree entry to remove "clock-frequency". This results
in both drivers getting "clocks" and getting same the deferral.

Al Cooper (2):
dt-bindings: Add support for the Broadcom UART driver
serial: 8250: Add new 8250-core based Broadcom STB driver

.../bindings/serial/brcm,bcm7271-uart.yaml | 96 ++
MAINTAINERS | 8 +
drivers/tty/serial/8250/8250_bcm7271.c | 1207 +++++++++++++++++
drivers/tty/serial/8250/Kconfig | 10 +
drivers/tty/serial/8250/Makefile | 1 +
5 files changed, 1322 insertions(+)
create mode 100644 Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
create mode 100644 drivers/tty/serial/8250/8250_bcm7271.c

--
2.17.1