Skip to content

serdev support for n_gsm

Tony Lindgren linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: n_gsm: Add copy_config() and gsm_config() to prepare for serdevdrivers/tty/n_gsm.c+107 -1000 replies
2/3n_gsm: Constify u8 and unsigned char usagedrivers/tty/n_gsm.c+12 -120 replies
3/3tty: n_gsm: Add support for serdev driversdrivers/tty/n_gsm.c include/linux/serdev-gsm.h+544 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPavel Machek
SeriesA-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] serdev support for n_gsm

Hi all,

Here's a series of patches to add initial serdev support to n_gsm TS 27.010 line discipline.

This allows handling vendor specific protocols on top of TS 27.010 and allows creating simple serdev drivers where it makes sense. So far I've tested it with droid 4 for it's modem to provide char devices for AT ports, modem PM support, and serdev drivers for GNSS and Alsa ASoC.

I'll be posting the related MFD, GNSS and Alsa ASoC drivers separately. For reference, the MFD driver is at [0], the GNSS driver at [1], and the Alsa ASoC driver at [2] below.

Regards,

Tony

[0] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/tree/drivers/mfd/motorola-mdm.c?h=droid4-pending-mdm-v4.20
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/tree/drivers/gnss/motmdm.c?h=droid4-pending-mdm-v4.20
[2] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/tree/sound/soc/codecs/motmdm.c?h=droid4-pending-mdm-v4.20

Tony Lindgren (3):
tty: n_gsm: Add copy_config() and gsm_config() to prepare for serdev
n_gsm: Constify u8 and unsigned char usage
tty: n_gsm: Add support for serdev drivers

 drivers/tty/n_gsm.c        | 548 +++++++++++++++++++++++++++++--------
 include/linux/serdev-gsm.h | 227 +++++++++++++++
 2 files changed, 663 insertions(+), 112 deletions(-)
 create mode 100644 include/linux/serdev-gsm.h
Signature · 1 line
2.20.1