[PATCHv3 0/4] n_gsm serdev support and mfd driver for droid4 modem
From: Tony Lindgren
Date: Wed Feb 19 2020 - 12:01:12 EST
Hi all,
Here's v3 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.
Regards,
Tony
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 | 37 +
.../boot/dts/motorola-mapphone-common.dtsi | 6 +
drivers/mfd/Kconfig | 9 +
drivers/mfd/Makefile | 1 +
drivers/mfd/motorola-mdm.c | 1198 +++++++++++++++++
drivers/tty/n_gsm.c | 372 +++++
include/linux/serdev-gsm.h | 168 +++
7 files changed, 1791 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
--
2.25.1