[PATCHv4 0/4] n_gsm serdev support and mfd driver for droid4 modem

From: Tony Lindgren
Date: Thu Feb 20 2020 - 14:59:49 EST

Hi all,

Here's v4 set of n_gsm serdev support patches, and the related MFD
driver for the modem found on Motorola Mapphone phones and tablets
like droid4.

This series only adds basic character device support for the MFD
driver. Other serdev consumer drivers for specific devices will be
posted separately.

The patches are against v5.6-rc1.



Changes since v3:
- Update list of folks in Cc, looks like I sent v3 only to Lee and lkml
- Init privdata before motmdm_register_dlci calls gsm_serdev_register_dlci
- Update binding based on Rob's comments for license and "allOf"

Changes since v2:
- Drop useless send_command indirection, use static motmdm_send_command

Changes since v1:

- Simplified usage and got rid of few pointless inline functions
- Added consumer MFD driver, devicetree binding, and dts changes

Tony Lindgren (4):
tty: n_gsm: Add support for serdev drivers
mfd: motmdm: Add Motorola TS 27.010 serdev modem driver for droid4
dt-bindings: mfd: motmdm: Add binding for motorola-mdm
ARM: dts: omap4-droid4: Enable basic modem support

.../mfd/motorola,mapphone-mdm6600.yaml | 34 +
.../boot/dts/motorola-mapphone-common.dtsi | 6 +
drivers/mfd/Kconfig | 9 +
drivers/mfd/Makefile | 1 +
drivers/mfd/motorola-mdm.c | 1200 +++++++++++++++++
drivers/tty/n_gsm.c | 372 +++++
include/linux/serdev-gsm.h | 168 +++
7 files changed, 1790 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/motorola,mapphone-mdm6600.yaml
create mode 100644 drivers/mfd/motorola-mdm.c
create mode 100644 include/linux/serdev-gsm.h