Skip to content

8250: Add driver for Broadcom UART

Al Cooper linux-devicetree linux-serial lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 1 replyIn review
  2. v62 patches 2 repliesSuperseded
  3. v4 posting 2/22 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/22 patches3 repliesSuperseded
v32 patches4 repliesSuperseded
v22 patches11 repliesSuperseded
v13 patches4 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: Add support for the Broadcom UART driverDocumentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml+95 -00 replies
2/2serial: 8250: Add new 8250-core based Broadcom STB driverMAINTAINERS drivers/tty/serial/8250/8250_bcm7271.c drivers/tty/serial/8250/Kconfig +1 more+1221 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/2] 8250: Add driver for Broadcom UART

v7 - Change Kconfig for SERIAL_8250_BCM7271 from "bool" to "tristate"
so the driver can be built as a module.

v6 - A few more changes based on requests from Greg Kroah-Hartman
- Don't save the debugfs file handle in priv because it was never used.
- Change all dev_info() messages to dev_dbg() messages.
- Fix warnings from the kernel test robot
- Use --base with "git format-patch"
- Fixes in the .yaml file based on requests from Rob Herring
- Change "oneOf" to "minItems: 1".
- Reference serial.yaml instead of using "$nodname".
- Add missing newline.

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    |   95 ++
 MAINTAINERS                                   |    8 +
 drivers/tty/serial/8250/8250_bcm7271.c        | 1202 +++++++++++++++++
 drivers/tty/serial/8250/Kconfig               |   10 +
 drivers/tty/serial/8250/Makefile              |    1 +
 5 files changed, 1316 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
 create mode 100644 drivers/tty/serial/8250/8250_bcm7271.c

base-commit: e138138003eb3b3d06cc91cf2e8c5dec77e2a31e

Signature · 1 line
2.17.1